spec\Newscoop\Image\ImageServiceSpec::let PHP Метод

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

public let ( $die, EntityManager $em, CacheService $cacheService )
$em Doctrine\ORM\EntityManager
$cacheService Newscoop\Services\CacheService
    public function let($die, \Doctrine\ORM\EntityManager $em, CacheService $cacheService)
    {
        $this->beConstructedWith(array('image_path' => realpath(__DIR__ . '/../../../newscoop/images/') . '/', 'thumbnail_path' => realpath(__DIR__ . '/../../../newscoop/images/thumbnails/') . '/', 'thumbnail_max_size' => 64, 'cache_path' => realpath(__DIR__ . '/../../../newscoop/images/cache/') . '/', 'cache_url' => 'images/cache', 'thumbnail_prefix' => 'cms-thumb-', 'image_prefix' => 'cms-image-'), $em, $cacheService);
    }