PHP Interface Nextras\Orm\Mapper\Dbal\StorageReflection\IStorageReflection

Inheritance: extends Nextras\Orm\StorageReflection\IStorageReflection
Exibir arquivo Open project: nextras/orm Interface Usage Examples

Public Methods

Method Description
getManyHasManyStorageName ( Nextras\Orm\Mapper\IMapper $target ) : string Returns storage name for m:n relationship.
getManyHasManyStoragePrimaryKeys ( Nextras\Orm\Mapper\IMapper $target ) : array Returns storage primary keys for m:n storage.
getPrimarySequenceName ( ) : string | null Returns primary sequence name. If not supported nor present, returns null.

Method Details

getManyHasManyStorageName() public method

Returns storage name for m:n relationship.
public getManyHasManyStorageName ( Nextras\Orm\Mapper\IMapper $target ) : string
$target Nextras\Orm\Mapper\IMapper
return string

getManyHasManyStoragePrimaryKeys() public method

Returns storage primary keys for m:n storage.
public getManyHasManyStoragePrimaryKeys ( Nextras\Orm\Mapper\IMapper $target ) : array
$target Nextras\Orm\Mapper\IMapper
return array

getPrimarySequenceName() public method

Returns primary sequence name. If not supported nor present, returns null.
public getPrimarySequenceName ( ) : string | null
return string | null