Overview

Namespaces

  • LeanMapper
    • 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 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
tharos/leanmapper v2.3.0 API documentation API documentation generated by ApiGen