static function crumbs_Container_ContainerUtil::getAllProperties in Crumbs, the Breadcrumbs suite 7.2
Initializes all lazy properties from the container and returns the array.
Use this only for debugging!
Parameters
object $container:
Return value
mixed[]
1 call to crumbs_Container_ContainerUtil::getAllProperties()
File
- lib/
Container/ ContainerUtil.php, line 15
Class
Code
static function getAllProperties($container) {
$reflClass = new ReflectionClass($container);
$data = array();
foreach (self::extractProperties($reflClass
->getDocComment()) as $propertyName) {
$data[$propertyName] = $container->{$propertyName};
}
return $data;
}