composer require krzysztofzylka/reflection
\Krzysztofzylka\Reflection\Reflection::getDirectoryPath($objectOrClass)
Get class public property
\Krzysztofzylka\Reflection\Reflection::getPublicPropertyList($object)
Get class comments
\Krzysztofzylka\Reflection\Reflection::getClassComment($object, 'type (not required)')
Get class method comments
\Krzysztofzylka\Reflection\Reflection::getClassMethodComment($object, 'method', 'type (not required)')
Find class method comment
$comments = \Krzysztofzylka\Reflection\Reflection::getClassMethodComment($object, 'method', 'type (not required)')
\Krzysztofzylka\Reflection\Reflection::findClassComment($comments, 'auth')
\Krzysztofzylka\Reflection\Reflection::getClassMethods($objectOrClass)