public function __construct($class, $method)
 {
     parent::__construct(sprintf('Contracted method "%s" not found in parent class "%s".', $method, $class));
 }
 public function __construct($class)
 {
     parent::__construct(sprintf('Parent class for "%s" was not found.', $class));
 }