public function getValidator()
    {
        if (!$this->_validator instanceof LibBaseControllerValidatorAbstract) {
            //Make sure we have a view identifier
           if (!($this->_validator instanceof AnServiceIdentifier)) {
               $this->setValidator($this->_validator);
           }

            $config = array(
                'controller' => $this->getMixer(),
           );

            $this->_validator = $this->getService($this->_validator, $config);
        }

        return $this->_validator;
    }
public function getValidator()
    {
        if (!$this->_validator instanceof LibBaseControllerValidatorAbstract) {
            //Make sure we have a view identifier
           if (!($this->_validator instanceof AnServiceIdentifier)) {
               $this->setValidator($this->_validator);
           }

            $config = array(
                'controller' => $this->getMixer(),
           );

            $this->_validator = $this->getService($this->_validator, $config);
        }

        return $this->_validator;
    }
public function getValidator ( ) { if ( ! $ this -> _validator instanceof LibBaseControllerValidatorAbstract ) { //Make sure we have a view identifier if ( ! ( $ this -> _validator instanceof AnServiceIdentifier ) ) { $ this -> setValidator ( $ this -> _validator ) ; } $ config = array ( 'controller' => $ this -> getMixer ( ) , ) ; $ this -> _validator = $ this -> getService ( $ this -> _validator , $ config ) ; } return $ this -> _validator ; }
Return the validator.

@return LibBaseControllerValidatorAbstract
Return the validator .