public static function xmlEntityNotFound($className, $identifier) { return new self(sprintf('The "%s" XmlEntity with identifier "%s" could not be found.', $className, $identifier)); }