yii\rbac\BaseManager::getItems PHP Method

getItems() abstract protected method

Returns the items of the specified type.
abstract protected getItems ( integer $type ) : Item[]
$type integer the auth item type (either [[Item::TYPE_ROLE]] or [[Item::TYPE_PERMISSION]]
return Item[] the auth items of the specified type.
    protected abstract function getItems($type);