src/Samurai/Component/Core/ActionChain.php
public function getErrorListByName($controller, $action = null)
    {
        $position = $this->getPositionByName($controller, $action);
        if (is_integer($position)) {
            if (! isset($this->errors[$position])) $this->errors[$position] = new ErrorList();
            return $this->errors[$position];
        }
    }
public function getErrorListByName($controller, $action = null)
    {
        $position = $this->getPositionByName($controller, $action);
        if (is_integer($position)) {
            if (! isset($this->errors[$position])) $this->errors[$position] = new ErrorList();
            return $this->errors[$position];
        }
    }
public function getErrorListByName ( $ controller , $ action = null ) { $ position = $ this -> getPositionByName ( $ controller , $ action ) ; if ( is_integer ( $ position ) ) { if ( ! isset ( $ this -> errors [ $ position ] ) ) $ this -> errors [ $ position ] = new ErrorList ( ) ; return $ this -> errors [ $ position ] ; } }
get error list by name

@param   string  $controller
@param   string  $action
@return  Samurai\Samurai\Component\Core\ErrorList
get error list by name