public __construct ( array $params = [] ) : Kronolith_Resource_Base | ||
$params | array | |
return | Kronolith_Resource_Base |
public function __construct(array $params = array())
{
$this->_share = $params['share'];
$this->_id = $this->_share->getId();
}
/** * Const'r * * @param $params * * @return Kronolith_Resource */ public function __construct(array $params) { $params['resource_type'] = 'Group'; parent::__construct($params); $this->_driver = $this->getDriver(); }