mock_objects.php
public function register($method, $args, $action)
    {
        $args   = $this->replaceWildcards($args);
        $method = strtolower($method);
        if (! isset($this->always[$method])) {
            $this->always[$method] = new SimpleSignatureMap();
        }
        $this->always[$method]->add($args, $action);
    }
public function register($method, $args, $action)
    {
        $args   = $this->replaceWildcards($args);
        $method = strtolower($method);
        if (! isset($this->always[$method])) {
            $this->always[$method] = new SimpleSignatureMap();
        }
        $this->always[$method]->add($args, $action);
    }
public function register ( $ method , $ args , $ action ) { $ args = $ this -> replaceWildcards ( $ args ) ; $ method = strtolower ( $ method ) ; if ( ! isset ( $ this -> always [ $ method ] ) ) { $ this -> always [ $ method ] = new SimpleSignatureMap ( ) ; } $ this -> always [ $ method ] -> add ( $ args , $ action ) ; }
Stores an action against a signature
that will always fire unless masked by a time specific one.

@param string $method        Method name.
@param array $args           Calling parameters.
@param SimpleAction $action  Actually simpleByValue, etc.
Stores an action against a signature that will always fire unless masked by a time specific one .