PHP Класс LeanMapper\Reflection\AnnotationsParser

Автор: Vojtěch Kohout
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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