public function doValidate()
    {
        $isValid = true;
        if ($this->props['validate']) {
            $isValid = \call_user_func($this->props['validate'], $this);
        }
        return $isValid;
    }
public function doValidate()
    {
        $isValid = true;
        if ($this->props['validate']) {
            $isValid = \call_user_func($this->props['validate'], $this);
        }
        return $isValid;
    }
public function doValidate ( ) { $ isValid = true ; if ( $ this -> props [ 'validate' ] ) { $ isValid = \ call_user_func ( $ this -> props [ 'validate' ] , $ this ) ; } return $ isValid ; }
Extend me to perform custom validation

@return boolean valid?
Extend me to perform custom validation