Newscoop\Package\PackageService::__construct PHP Метод

__construct() публичный Метод

public __construct ( EntityManager $orm, ImageService $imageService )
$orm Doctrine\ORM\EntityManager
$imageService Newscoop\Image\ImageService
    public function __construct(\Doctrine\ORM\EntityManager $orm, \Newscoop\Image\ImageService $imageService)
    {
        $this->orm = $orm;
        $this->repository = $this->orm->getRepository('Newscoop\\Package\\Package');
        $this->imageService = $imageService;
    }