PHP 클래스 Ojs\CoreBundle\Service\DeleteService

파일 보기 프로젝트 열기: ojs/ojs

보호된 프로퍼티들

프로퍼티 타입 설명
$em Doctrine\ORM\EntityManager

공개 메소드들

메소드 설명
__construct ( Symfony\Bridge\Doctrine\RegistryInterface $registry, Doctrine\Common\Annotations\Reader $reader, Symfony\Component\Translation\TranslatorInterface $translator, $rootDir, $bundles ) DeleteService constructor.
check ( $entity )

비공개 메소드들

메소드 설명
checkUse ( ) : boolean
findRelations ( array $usage ) : array
loadAllOptions ( ) : boolean
preDelete ( ) : boolean
setupReflClass ( ) return void
setupYamlOptions ( ) : boolean

메소드 상세

__construct() 공개 메소드

DeleteService constructor.
public __construct ( Symfony\Bridge\Doctrine\RegistryInterface $registry, Doctrine\Common\Annotations\Reader $reader, Symfony\Component\Translation\TranslatorInterface $translator, $rootDir, $bundles )
$registry Symfony\Bridge\Doctrine\RegistryInterface
$reader Doctrine\Common\Annotations\Reader
$translator Symfony\Component\Translation\TranslatorInterface

check() 공개 메소드

public check ( $entity )
$entity

프로퍼티 상세

$em 보호되어 있는 프로퍼티

protected EntityManager,Doctrine\ORM $em
리턴 Doctrine\ORM\EntityManager