private function getPluginMiddleware($class)
    {
        if ($this->pluginMiddleware === null) {
            /** @noinspection PhpIncludeInspection */
            $this->pluginMiddleware = file_exists($this->pluginManifestOfMiddleware) ? include $this->pluginManifestOfMiddleware : [];
        }

        return isset($this->pluginMiddleware[$class]) && count($this->pluginMiddleware[$class]) == 1 ? $this->pluginMiddleware[$class][0] : null;
    }
private function getPluginMiddleware($class)
    {
        if ($this->pluginMiddleware === null) {
            /** @noinspection PhpIncludeInspection */
            $this->pluginMiddleware = file_exists($this->pluginManifestOfMiddleware) ? include $this->pluginManifestOfMiddleware : [];
        }

        return isset($this->pluginMiddleware[$class]) && count($this->pluginMiddleware[$class]) == 1 ? $this->pluginMiddleware[$class][0] : null;
    }
private function getPluginMiddleware ( $ class ) { if ( $ this -> pluginMiddleware === null ) { /** @noinspection PhpIncludeInspection */ $ this -> pluginMiddleware = file_exists ( $ this -> pluginManifestOfMiddleware ) ? include $ this -> pluginManifestOfMiddleware : [ ] ; } return isset ( $ this -> pluginMiddleware [ $ class ] ) && count ( $ this -> pluginMiddleware [ $ class ] ) == 1 ? $ this -> pluginMiddleware [ $ class ] [ 0 ] : null ; }
Get the full qualified class name of the plugin's middleware.

@param string $class
@return null|string
Get the full qualified class name of the plugin s middleware .