Свойство | Тип | Описание | |
---|---|---|---|
$cardinalities | array | ||
$classes | array | ||
$config | array | ||
$graphs | EasyRdf_Graph[] | ||
$logger | Psr\Log\LoggerInterface |
Метод | Описание | |
---|---|---|
__construct ( Psr\Log\LoggerInterface $logger, array $graphs, array $cardinalities, array $config, array $classes ) | ||
generateAdderAnnotations ( $className, $fieldName ) | ||
generateClassAnnotations ( $className ) | ||
generateConstantAnnotations ( $className, $constantName ) | ||
generateFieldAnnotations ( $className, $fieldName ) | ||
generateGetterAnnotations ( $className, $fieldName ) | ||
generateInterfaceAnnotations ( $className ) | ||
generateRemoverAnnotations ( $className, $fieldName ) | ||
generateSetterAnnotations ( $className, $fieldName ) | ||
generateUses ( $className ) |
Метод | Описание | |
---|---|---|
toPhpType ( array $field, boolean $adderOrRemover = false ) : string | Converts a Schema.org range to a PHP type. |
public generateAdderAnnotations ( $className, $fieldName ) |
public generateConstantAnnotations ( $className, $constantName ) |
public generateFieldAnnotations ( $className, $fieldName ) |
public generateGetterAnnotations ( $className, $fieldName ) |
public generateRemoverAnnotations ( $className, $fieldName ) |
public generateSetterAnnotations ( $className, $fieldName ) |