private function isWriteValidInputs($dir = null, $file = null, $md5 = null, $raw = null)
    {
        //====================================================================//
        // Safety Checks
        if (empty($dir)) {
            return Splash::log()->err("ErrFileDirMissing", __FUNCTION__);
        }
        if (empty($file)) {
            return Splash::log()->err("ErrFileFileMissing", __FUNCTION__);
        }
        if (empty($md5)) {
            return Splash::log()->err("ErrFileMd5Missing", __FUNCTION__);
        }
        if (empty($raw)) {
            return Splash::log()->err("ErrFileRawMissing", __FUNCTION__);
        }

        return true;
    }
private function isWriteValidInputs($dir = null, $file = null, $md5 = null, $raw = null)
    {
        //====================================================================//
        // Safety Checks
        if (empty($dir)) {
            return Splash::log()->err("ErrFileDirMissing", __FUNCTION__);
        }
        if (empty($file)) {
            return Splash::log()->err("ErrFileFileMissing", __FUNCTION__);
        }
        if (empty($md5)) {
            return Splash::log()->err("ErrFileMd5Missing", __FUNCTION__);
        }
        if (empty($raw)) {
            return Splash::log()->err("ErrFileRawMissing", __FUNCTION__);
        }

        return true;
    }
private function isWriteValidInputs ( $ dir = null , $ file = null , $ md5 = null , $ raw = null ) { //====================================================================// // Safety Checks if ( empty ( $ dir ) ) { return Splash :: log ( ) -> err ( "ErrFileDirMissing" , __FUNCTION__ ) ; } if ( empty ( $ file ) ) { return Splash :: log ( ) -> err ( "ErrFileFileMissing" , __FUNCTION__ ) ; } if ( empty ( $ md5 ) ) { return Splash :: log ( ) -> err ( "ErrFileMd5Missing" , __FUNCTION__ ) ; } if ( empty ( $ raw ) ) { return Splash :: log ( ) -> err ( "ErrFileRawMissing" , __FUNCTION__ ) ; } return true ; }
Verify Write Inputs are Conform to Expected

@param string $dir
@param string $file
@param string $md5
@param string $raw

@return boolean
Verify Write Inputs are Conform to Expected