Barryvdh\LaravelIdeHelper\Console\ModelsCommand::setMethod PHP Method

setMethod() protected method

protected setMethod ( $name, $type = '', $arguments = [] )
    protected function setMethod($name, $type = '', $arguments = array())
    {
        $methods = array_change_key_case($this->methods, CASE_LOWER);
        if (!isset($methods[strtolower($name)])) {
            $this->methods[$name] = array();
            $this->methods[$name]['type'] = $type;
            $this->methods[$name]['arguments'] = $arguments;
        }
    }