Bart\Configuration\Configuration::__construct PHP Method

__construct() public method

Instantiate instance configured to load configurations based on called class name
public __construct ( )
    public function __construct()
    {
        $this->logger = Log4PHP::getLogger(get_called_class());
        $this->load();
    }

Usage Example

Exemplo n.º 1
0
 /**
  * @param Commit $commit The commit from which to load the configurations file.
  */
 public function __construct(Commit $commit)
 {
     $this->commit = $commit;
     parent::__construct();
 }
All Usage Examples Of Bart\Configuration\Configuration::__construct