PHP Class Wallabag\ImportBundle\Consumer\AbstractConsumer

Afficher le fichier Open project: wallabag/wallabag

Protected Properties

Свойство Type Description
$em
$import
$logger
$userRepository

Méthodes publiques

Méthode Description
__construct ( EntityManager $em, Wallabag\UserBundle\Repository\UserRepository $userRepository, AbstractImport $import, Psr\Log\LoggerInterface $logger = null )

Méthodes protégées

Méthode Description
handleMessage ( string $body ) : boolean Handle a message and save it.

Method Details

__construct() public méthode

public __construct ( EntityManager $em, Wallabag\UserBundle\Repository\UserRepository $userRepository, AbstractImport $import, Psr\Log\LoggerInterface $logger = null )
$em Doctrine\ORM\EntityManager
$userRepository Wallabag\UserBundle\Repository\UserRepository
$import Wallabag\ImportBundle\Import\AbstractImport
$logger Psr\Log\LoggerInterface

handleMessage() protected méthode

Handle a message and save it.
protected handleMessage ( string $body ) : boolean
$body string Message from the queue (in json)
Résultat boolean

Property Details

$em protected_oe property

protected $em

$import protected_oe property

protected $import

$logger protected_oe property

protected $logger

$userRepository protected_oe property

protected $userRepository