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

Inheritance: extends Doctrine\OrientDB\Query\Command
显示文件 Open project: doctrine/orientdb-odm

Public Methods

Method Description
__construct ( string $class, string $property, string $alias, boolean $inverse = false ) Sets the source of the link, its $alias and if the link must be $reverse.
with ( string $class, string $property ) : Link Sets the destination of the link.

Protected Methods

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

Method Details

__construct() public method

Sets the source of the link, its $alias and if the link must be $reverse.
public __construct ( string $class, string $property, string $alias, boolean $inverse = false )
$class string
$property string
$alias string
$inverse boolean

getSchema() protected method

protected getSchema ( )

getTokenFormatters() protected method

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

with() public method

Sets the destination of the link.
public with ( string $class, string $property ) : Link
$class string
$property string
return Link