public function __construct(ComponentRegistry $registry, array $config = []) { parent::__construct($registry, $config); $autoload = $this->config('autoload_config'); if ($autoload) { $loadedPermissions = $this->_loadPermissions($autoload); $this->config('permissions', $loadedPermissions); } }