PHP 클래스 ApiGen\Generator\TemplateGenerators\SourceCodeGenerator

상속: implements ApiGen\Contracts\Generator\TemplateGenerators\ConditionalTemplateGeneratorInterface, implements ApiGen\Contracts\Generator\StepCounterInterface
파일 보기 프로젝트 열기: apigen/apigen

보호된 프로퍼티들

프로퍼티 타입 설명
$namespaceAndPackageLoader ApiGen\Generator\TemplateGenerators\Loaders\NamespaceAndPackageLoader

공개 메소드들

메소드 설명
__construct ( Configuration $configuration, ApiGen\Contracts\Parser\Elements\ElementStorageInterface $elementStorage, TemplateFactory $templateFactory, RelativePathResolver $relativePathResolver, ApiGen\Generator\SourceCodeHighlighter\SourceCodeHighlighter $sourceCodeHighlighter, ApiGen\Contracts\EventDispatcher\EventDispatcherInterface $eventDispatcher, NamespaceAndPackageLoader $namespaceAndPackageLoader )
generate ( )
getStepCount ( )
isAllowed ( )

비공개 메소드들

메소드 설명
generateForElement ( ApiGen\Contracts\Parser\Reflection\ElementReflectionInterface $element )
getHighlightedCodeFromElement ( ApiGen\Contracts\Parser\Reflection\ElementReflectionInterface $element ) : string

메소드 상세

__construct() 공개 메소드

public __construct ( Configuration $configuration, ApiGen\Contracts\Parser\Elements\ElementStorageInterface $elementStorage, TemplateFactory $templateFactory, RelativePathResolver $relativePathResolver, ApiGen\Generator\SourceCodeHighlighter\SourceCodeHighlighter $sourceCodeHighlighter, ApiGen\Contracts\EventDispatcher\EventDispatcherInterface $eventDispatcher, NamespaceAndPackageLoader $namespaceAndPackageLoader )
$configuration ApiGen\Configuration\Configuration
$elementStorage ApiGen\Contracts\Parser\Elements\ElementStorageInterface
$templateFactory ApiGen\Templating\TemplateFactory
$relativePathResolver ApiGen\Generator\Resolvers\RelativePathResolver
$sourceCodeHighlighter ApiGen\Generator\SourceCodeHighlighter\SourceCodeHighlighter
$eventDispatcher ApiGen\Contracts\EventDispatcher\EventDispatcherInterface
$namespaceAndPackageLoader ApiGen\Generator\TemplateGenerators\Loaders\NamespaceAndPackageLoader

generate() 공개 메소드

public generate ( )

getStepCount() 공개 메소드

public getStepCount ( )

isAllowed() 공개 메소드

public isAllowed ( )

프로퍼티 상세

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

protected NamespaceAndPackageLoader,ApiGen\Generator\TemplateGenerators\Loaders $namespaceAndPackageLoader
리턴 ApiGen\Generator\TemplateGenerators\Loaders\NamespaceAndPackageLoader