Dumplie\Metadata\Schema\FieldDefinition::name PHP Method

name() public method

public name ( ) : string
return string
    public function name() : string;

Usage Example

Exemplo n.º 1
0
 public static function valueDoesNotMatchType(FieldDefinition $type, $value) : InvalidValueException
 {
     return new self(sprintf("Value \"%s\" does not match type \"%s\"", (string) new StringConverter($value), $type->name()));
 }