\Lqdt\OrmJson\PHPStanCurlyDatFieldNotation

Summary

Methods
Properties
Constants
hasProperty()
getProperty()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

hasProperty()

hasProperty(\PHPStan\Reflection\ClassReflection  $classReflection,string  $propertyName): boolean

Check that json field owning datfield exists in class

Parameters

\PHPStan\Reflection\ClassReflection $classReflection

Class reflection

string $propertyName

Datfield

Returns

boolean

getProperty()

getProperty(\PHPStan\Reflection\ClassReflection  $classReflection,string  $propertyName): \PHPStan\Reflection\PropertyReflection

Returns property reflection for datfield

Parameters

\PHPStan\Reflection\ClassReflection $classReflection

Class reflection

string $propertyName

Property name

Throws

\PHPStan\Reflection\MissingPropertyFromReflectionException

Returns

\PHPStan\Reflection\PropertyReflection