Copied!

DoctrineOneToManyRelationship

DoctrineOneToManyRelationship.php : 13

Properties

protected $foreignKeyColumn

AbstractDoctrineRelationship.php : 20
protected non-empty-string $foreignKeyColumn

protected $foreignProperty

AbstractDoctrineRelationship.php : 17
protected non-empty-string $foreignProperty

protected $relatedClassIdColumn

AbstractDoctrineRelationship.php : 23
protected non-empty-string $relatedClassIdColumn

protected $relationshipClass

AbstractDoctrineRelationship.php : 14
protected class-string $relationshipClass

Methods

public__construct()

DoctrineOneToManyRelationship.php : 20
public __construct(class-string $relationshipClass, non-empty-string $foreignProperty, non-empty-string $relatedClassIdColumn)

Parameters

Name Type Default value Description
$relationshipClass class-string - -
$foreignProperty non-empty-string - -
$relatedClassIdColumn non-empty-string - -

publicgetForeignKeyColumn()

DoctrineOneToManyRelationship.php : 30
public getForeignKeyColumn() : string

Return values

string

publicgetForeignProperty()

AbstractDoctrineRelationship.php : 35
public getForeignProperty() : string

Return values

string

publicgetJoinType()

DoctrineOneToManyRelationship.php : 40
public getJoinType() : string

Return values

string

publicgetRelatedClassIdColumn()

AbstractDoctrineRelationship.php : 30
public getRelatedClassIdColumn() : string

Return values

string

publicgetRelationshipClass()

AbstractDoctrineRelationship.php : 25
public getRelationshipClass() : string

Return values

string

publicsetJoinType()

DoctrineOneToManyRelationship.php : 35
public setJoinType(string $joinType) : void

Parameters

Name Type Default value Description
$joinType string - -