src/AbstractPluginManager.php
public function setService($name, $service)
    {
        $this->validate($service);
        parent::setService($name, $service);
    }
public function setService($name, $service)
    {
        $this->validate($service);
        parent::setService($name, $service);
    }
public function setService ( $ name , $ service ) { $ this -> validate ( $ service ) ; parent :: setService ( $ name , $ service ) ; }
Override setService for additional plugin validation.

{@inheritDoc}
Override setService for additional plugin validation .