Flarum\Database\AbstractModel::getCustomRelation PHP Méthode

getCustomRelation() protected méthode

Get a custom relation object.
protected getCustomRelation ( string $name ) : mixed
$name string
Résultat mixed
    protected function getCustomRelation($name)
    {
        return static::$dispatcher->until(new GetModelRelationship($this, $name));
    }