PHP 클래스 LeanMapper\Reflection\AnnotationsParser

저자: Vojtěch Kohout
파일 보기 프로젝트 열기: tharos/leanmapper 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( )
parseAnnotationValues ( string $annotation, string $docComment ) : array Parse value pieces of requested annotation from given doc comment
parseSimpleAnnotationValue ( string $annotation, string $docComment ) : string | null Parse value of requested simple annotation from given doc comment

메소드 상세

__construct() 공개 메소드

public __construct ( )

parseAnnotationValues() 공개 정적인 메소드

Parse value pieces of requested annotation from given doc comment
public static parseAnnotationValues ( string $annotation, string $docComment ) : array
$annotation string
$docComment string
리턴 array

parseSimpleAnnotationValue() 공개 정적인 메소드

Parse value of requested simple annotation from given doc comment
public static parseSimpleAnnotationValue ( string $annotation, string $docComment ) : string | null
$annotation string
$docComment string
리턴 string | null