Reads configuration assets in objects and elements, just like in the example below:
composer require hamboldt/php-doc-reader
<?php
/**
* Look this amazing configurable class.
* @configure {"config_name":"config_value"}
*/
class MyConfigurableClass
{
/**
* Look this amazing configurable property!
* @configure {"config_name":"config_value"}
*/
public $property;
}
// array("config_name" => "config_value")
PhpDocReader\Reader::getConfig('MyConfigurableClass');
// array("config_name" => "config_value")
PhpDocReader\Reader::getConfig('MyConfigurableClass', 'property');