src/Database/Concerns/IsAbility.php
public function setConstraints(Constrainer $constrainer)
    {
        $this->options = array_merge($this->options, [
            'constraints' => $constrainer->data(),
        ]);

        return $this;
    }
public function setConstraints(Constrainer $constrainer)
    {
        $this->options = array_merge($this->options, [
            'constraints' => $constrainer->data(),
        ]);

        return $this;
    }
public function setConstraints ( Constrainer $ constrainer ) { $ this -> options = array_merge ( $ this -> options , [ 'constraints' => $ constrainer -> data ( ) , ] ) ; return $ this ; }
Set the ability's constraints.

@param  \Silber\Bouncer\Constraints\Constrainer  $constrainer
@return $this
Set the ability s constraints .