src/POData/UriProcessor/ResourcePathProcessor/SegmentParser/SegmentParser.php
/**
     * Assert that the given condition is true, if false throw 
     * ODataException for syntax error
     * 
     * @param boolean $condition The condition to assert
     * 
     * @return void
     * 
     * @throws ODataException
     */
Assert that the given condition is true, if false throw
ODataException for syntax error

@param boolean $condition The condition to assert

@return void


Assert that the given condition is true if false throw ODataException for syntax error @param boolean $condition The condition to assert @return void
private function _assertion($condition)
    {
        if (!$condition) {
            throw ODataException::createSyntaxError(Messages::syntaxError());
        }
    }
private function _assertion ( $ condition ) { if ( ! $ condition ) { throw ODataException :: createSyntaxError ( Messages :: syntaxError ( ) ) ; } }
Assert that the given condition is true, if false throw
 ODataException for syntax error
Assert that the given condition is true if false throw ODataException for syntax error