Skip to content

AbstractBlameable

  • Full name: \Zemit\Mvc\Model\Traits\Abstracts\AbstractBlameable

Methods

addUserRelationship

public addUserRelationship(string $field = 'userId', string $alias = 'UserEntity', array $params = [], string $ref = 'id', string $type = 'belongsTo', ?string $class = null): ?\Phalcon\Mvc\Model\Relation
  • This method is abstract.

Parameters:

Parameter Type Description
$field string
$alias string
$params array
$ref string
$type string
$class ?string