PHP Class Ojs\CoreBundle\Service\DeleteService

Afficher le fichier Open project: ojs/ojs

Protected Properties

Свойство Type Description
$em Doctrine\ORM\EntityManager

Méthodes publiques

Méthode Description
__construct ( Symfony\Bridge\Doctrine\RegistryInterface $registry, Doctrine\Common\Annotations\Reader $reader, Symfony\Component\Translation\TranslatorInterface $translator, $rootDir, $bundles ) DeleteService constructor.
check ( $entity )

Private Methods

Méthode Description
checkUse ( ) : boolean
findRelations ( array $usage ) : array
loadAllOptions ( ) : boolean
preDelete ( ) : boolean
setupReflClass ( ) return void
setupYamlOptions ( ) : boolean

Method Details

__construct() public méthode

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 méthode

public check ( $entity )
$entity

Property Details

$em protected_oe property

protected EntityManager,Doctrine\ORM $em
Résultat Doctrine\ORM\EntityManager