Solar_Docs_Apiref::_addConstants()

protected void Solar_Docs_Apiref::_addConstants ( string $class , string $file )

Adds the constant reflections for a given class.

Parameters

  • (string) $class: The class name.

  • (string) $file: The file in which the class is defined.

Returns

  • (void)

Description

Adds the constant reflections for a given class.

The Reflection API does not support doc comments for constants yet, which means we have to do a lot of extra work here to extract the comments and their related information.



Local