kahlan\Specification::passed PHP Method

passed() public method

Checks if all test passed.
public passed ( &$return = null ) : boolean
return boolean Returns `true` if no error occurred, `false` otherwise.
    public function passed(&$return = null)
    {
        if (!$this->_runned) {
            $this->_process();
        }
        $this->_runned = true;
        $return = $this->_return;
        return $this->_passed;
    }