PHP 클래스 WellCommerce\Bundle\ApiBundle\CacheWarmer\SerializationCacheWarmer

저자: Adam Piotrowski ([email protected])
상속: extends Symfony\Component\HttpKernel\CacheWarmer\CacheWarmer
파일 보기 프로젝트 열기: wellcommerce/wellcommerce

보호된 프로퍼티들

프로퍼티 타입 설명
$doctrineHelper WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface
$filesystem Symfony\Component\Filesystem\Filesystem

공개 메소드들

메소드 설명
__construct ( WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface $doctrineHelper ) SerializationCacheWarmer constructor.
isOptional ( ) : boolean Checks whether this warmer is optional or not.
warmUp ( string $cacheDir ) Warms up the cache.

보호된 메소드들

메소드 설명
appendConfigurationFromMetadata ( Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata, &$configuration )
getConfiguration ( ) : array
resolvePath ( ReflectionClass $reflectionClass )

비공개 메소드들

메소드 설명
parseContent ( string $content ) : array Parses the Yaml contents

메소드 상세

__construct() 공개 메소드

SerializationCacheWarmer constructor.
public __construct ( WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface $doctrineHelper )
$doctrineHelper WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface

appendConfigurationFromMetadata() 보호된 메소드

protected appendConfigurationFromMetadata ( Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata, &$configuration )
$metadata Doctrine\Common\Persistence\Mapping\ClassMetadata

getConfiguration() 보호된 메소드

protected getConfiguration ( ) : array
리턴 array

isOptional() 공개 메소드

Checks whether this warmer is optional or not.
public isOptional ( ) : boolean
리턴 boolean always true

resolvePath() 보호된 메소드

protected resolvePath ( ReflectionClass $reflectionClass )
$reflectionClass ReflectionClass

warmUp() 공개 메소드

Warms up the cache.
public warmUp ( string $cacheDir )
$cacheDir string The cache directory

프로퍼티 상세

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

protected DoctrineHelperInterface,WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine $doctrineHelper
리턴 WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface

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

protected Filesystem,Symfony\Component\Filesystem $filesystem
리턴 Symfony\Component\Filesystem\Filesystem