Acl\AclExtras::_pluginAlias PHP Method

_pluginAlias() protected method

Returns the aliased name for the plugin (Needed in order to correctly handle nested plugins)
protected _pluginAlias ( string $plugin ) : string
$plugin string The name of the plugin to alias
return string
    protected function _pluginAlias($plugin)
    {
        return preg_replace('/\\//', '\\', Inflector::camelize($plugin));
    }