Silber\Bouncer\Conductors\Traits\ConductsAbilities::toOwn PHP Method

toOwn() public method

Allow/disallow owning the given model.
public toOwn ( string $model, array $attributes = [] ) : void
$model string
$attributes array
return void
    public function toOwn($model, array $attributes = [])
    {
        return $this->to('*', $model, $attributes + ['only_owned' => true]);
    }