Метод | Описание | |
---|---|---|
__construct ( Symfony\Component\PropertyInfo\Type $type = null, string $description = null, boolean $readable = null, boolean $writable = null, boolean $readableLink = null, boolean $writableLink = null, boolean $required = null, boolean $identifier = null, string $iri = null, $childInherited = null, array $attributes = null ) | ||
getAttributes ( ) : array | null | Gets attributes. | |
getDescription ( ) : string | null | Gets description. | |
getIri ( ) : string | null | Gets IRI of this property. | |
getType ( ) : Symfony\Component\PropertyInfo\Type | null | Gets type. | |
isChildInherited ( ) : string | null | Is the property inherited from a child class? | |
isIdentifier ( ) : boolean | null | Is this attribute an identifier? | |
isReadable ( ) : boolean | null | Is readable? | |
isReadableLink ( ) : boolean | null | Is an IRI or an object generated in read context? | |
isRequired ( ) : boolean | null | Is required? | |
isWritable ( ) : boolean | null | Is writable? | |
isWritableLink ( ) : boolean | null | Should an IRI or an object be provided in write context? | |
withAttributes ( array $attributes ) : self | Returns a new instance with the given attribute. | |
withChildInherited ( string $childInherited ) : self | Returns a new instance with the given child inherited class. | |
withDescription ( string $description ) : self | Returns a new instance with the given description. | |
withIdentifier ( boolean $identifier ) : self | Returns a new instance with the given identifier flag. | |
withIri ( string $iri = null ) : self | Returns a new instance with the given IRI. | |
withReadable ( boolean $readable ) : self | Returns a new instance of Metadata with the given readable flag. | |
withReadableLink ( boolean $readableLink ) : self | Returns a new instance with the given readable link flag. | |
withRequired ( boolean $required ) : self | Returns a new instance with the given required flag. | |
withType ( Symfony\Component\PropertyInfo\Type $type ) : self | Returns a new instance with the given type. | |
withWritable ( boolean $writable ) : self | Returns a new instance with the given writable flag. | |
withWritableLink ( boolean $writableLink ) : self | Returns a new instance with the given writable link flag. |
public __construct ( Symfony\Component\PropertyInfo\Type $type = null, string $description = null, boolean $readable = null, boolean $writable = null, boolean $readableLink = null, boolean $writableLink = null, boolean $required = null, boolean $identifier = null, string $iri = null, $childInherited = null, array $attributes = null ) | ||
$type | Symfony\Component\PropertyInfo\Type | |
$description | string | |
$readable | boolean | |
$writable | boolean | |
$readableLink | boolean | |
$writableLink | boolean | |
$required | boolean | |
$identifier | boolean | |
$iri | string | |
$attributes | array |
public getAttributes ( ) : array | null | ||
Результат | array | null |
public getDescription ( ) : string | null | ||
Результат | string | null |
public isChildInherited ( ) : string | null | ||
Результат | string | null |
public isIdentifier ( ) : boolean | null | ||
Результат | boolean | null |
public isReadable ( ) : boolean | null | ||
Результат | boolean | null |
public isReadableLink ( ) : boolean | null | ||
Результат | boolean | null |
public isRequired ( ) : boolean | null | ||
Результат | boolean | null |
public isWritable ( ) : boolean | null | ||
Результат | boolean | null |
public isWritableLink ( ) : boolean | null | ||
Результат | boolean | null |
public withAttributes ( array $attributes ) : self | ||
$attributes | array | |
Результат | self |
public withChildInherited ( string $childInherited ) : self | ||
$childInherited | string | |
Результат | self |
public withDescription ( string $description ) : self | ||
$description | string | |
Результат | self |
public withIdentifier ( boolean $identifier ) : self | ||
$identifier | boolean | |
Результат | self |
public withReadable ( boolean $readable ) : self | ||
$readable | boolean | |
Результат | self |
public withReadableLink ( boolean $readableLink ) : self | ||
$readableLink | boolean | |
Результат | self |
public withRequired ( boolean $required ) : self | ||
$required | boolean | |
Результат | self |
public withType ( Symfony\Component\PropertyInfo\Type $type ) : self | ||
$type | Symfony\Component\PropertyInfo\Type | |
Результат | self |
public withWritable ( boolean $writable ) : self | ||
$writable | boolean | |
Результат | self |
public withWritableLink ( boolean $writableLink ) : self | ||
$writableLink | boolean | |
Результат | self |