protected function isValidCommandPlugin(PluginInterface $plugin) { $implements = class_implements($plugin); return isset($implements['Yosymfony\\Spress\\Plugin\\CommandPluginInterface']); }