Yosymfony\Spress\Plugin\ConsoleCommandBuilder::isValidCommandPlugin PHP Méthode

isValidCommandPlugin() protected méthode

Is a valid command plugin?
protected isValidCommandPlugin ( Yosymfony\Spress\Core\Plugin\PluginInterface $plugin ) : boolean
$plugin Yosymfony\Spress\Core\Plugin\PluginInterface
Résultat boolean
    protected function isValidCommandPlugin(PluginInterface $plugin)
    {
        $implements = class_implements($plugin);
        return isset($implements['Yosymfony\\Spress\\Plugin\\CommandPluginInterface']);
    }