src/POData/Providers/Stream/StreamProviderWrapper.php
/**
     * Validates that an implementation of IStreamProvider exists and
     * load it.
     * 
     * @return void
     * 
     * @throws ODataException
     */
Validates that an implementation of IStreamProvider exists and
load it.

@return void


Validates that an implementation of IStreamProvider exists and load it . @return void
private function _loadAndValidateStreamProvider()
    {
        if (is_null($this->_streamProvider)) {
            $this->_loadStreamProvider();
            if (is_null($this->_streamProvider)) {
                throw ODataException::createInternalServerError(
                    Messages::streamProviderWrapperMustImplementIStreamProviderToSupportStreaming()
                );
            }
        }
    }
private function _loadAndValidateStreamProvider ( ) { if ( is_null ( $ this -> _streamProvider ) ) { $ this -> _loadStreamProvider ( ) ; if ( is_null ( $ this -> _streamProvider ) ) { throw ODataException :: createInternalServerError ( Messages :: streamProviderWrapperMustImplementIStreamProviderToSupportStreaming ( ) ) ; } } }
Validates that an implementation of IStreamProvider exists and
 load it.
Validates that an implementation of IStreamProvider exists and load it .