public function create($name, $value)
    {
        if (!empty($this->callbacks[$name])) {
            return call_user_func($this->callbacks[$name], $name, $value);
        }

        return $this->createBasic($name, $value);
    }
public function create($name, $value)
    {
        if (!empty($this->callbacks[$name])) {
            return call_user_func($this->callbacks[$name], $name, $value);
        }

        return $this->createBasic($name, $value);
    }
public function create ( $ name , $ value ) { if ( ! empty ( $ this -> callbacks [ $ name ] ) ) { return call_user_func ( $ this -> callbacks [ $ name ] , $ name , $ value ) ; } return $ this -> createBasic ( $ name , $ value ) ; }
Create a new claim

@param string $name
@param mixed $value

@return Claim
Create a new claim