D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
psa
/
admin
/
plib
/
vendor
/
jms
/
serializer
/
src
/
Exception
/
Filename :
RuntimeException.php
back
Copy
<?php declare(strict_types=1); namespace JMS\Serializer\Exception; /** * RuntimeException for the Serializer. * * @author Johannes M. Schmitt <schmittjoh@gmail.com> */ class RuntimeException extends \RuntimeException implements Exception { public static function noMetadataForProperty(string $class, string $prop): self { return new RuntimeException(sprintf( 'You must define a type for %s::$%s.', $class, $prop, )); } }