public function create(string $name, callable $definition)
    {
        $this->_name = $name;
        $this->_definition = $definition;
    }
public function create(string $name, callable $definition)
    {
        $this->_name = $name;
        $this->_definition = $definition;
    }
public function create ( string $ name , callable $ definition ) { $ this -> _name = $ name ; $ this -> _definition = $ definition ; }
Create the Hook

Create the hook by adding its name and definition to the protected
properties.

@param string $name Name of the hook
@param callable $definition Definition of the hook
@return void
Create the Hook