Overview

Namespaces

  • LeanMapper
    • Bridges
      • Nette
        • DI
    • Exception
    • Reflection
    • Relationship

Classes

  • Aliases
  • AliasesBuilder
  • AliasesParser
  • AnnotationsParser
  • EntityReflection
  • Property
  • PropertyFactory
  • PropertyFilters
  • PropertyMethods
  • PropertyPasses
  • PropertyType
  • PropertyValuesEnum
  • Overview
  • Namespace
  • Class

Class AnnotationsParser

Simple class annotations parser

Namespace: LeanMapper\Reflection
Author: Vojtěch Kohout
Located at LeanMapper/Reflection/AnnotationsParser.php
Methods summary
public
# __construct( )

Throws

LeanMapper\Exception\UtilityClassException
public static string|null
# parseSimpleAnnotationValue( string $annotation, string $docComment )

Parse value of requested simple annotation from given doc comment

Parse value of requested simple annotation from given doc comment

Parameters

$annotation
$docComment

Returns

string|null
public static array
# parseAnnotationValues( string $annotation, string $docComment )

Parse value pieces of requested annotation from given doc comment

Parse value pieces of requested annotation from given doc comment

Parameters

$annotation
$docComment

Returns

array
public static array
# parseMultiLineAnnotationValues( string $annotation, string $docComment )

Parse value pieces of requested multiline annotation from given doc comment

Parse value pieces of requested multiline annotation from given doc comment

Parameters

$annotation
$docComment

Returns

array
tharos/leanmapper v3.3.0 API documentation API documentation generated by ApiGen