PHP Class Doctrine\OrientDB\Query\Command\Property\Create

Inheritance: extends Doctrine\OrientDB\Query\Command\Property
Exibir arquivo Open project: doctrine/orientdb-odm

Public Methods

Method Description
__construct ( string $property, string $type = null, string $linked = null ) Generates a valid SQL statements to add $property of type $type linked to $linked.
setLinked ( $linked )
setType ( $type )

Protected Methods

Method Description
getSchema ( )
getTokenFormatters ( ) : array Returns the formatters for this query's tokens.

Method Details

__construct() public method

Generates a valid SQL statements to add $property of type $type linked to $linked.
public __construct ( string $property, string $type = null, string $linked = null )
$property string
$type string
$linked string

getSchema() protected method

protected getSchema ( )

getTokenFormatters() protected method

Returns the formatters for this query's tokens.
protected getTokenFormatters ( ) : array
return array

setLinked() public method

public setLinked ( $linked )

setType() public method

public setType ( $type )