protected function checkFileExistence(/*# string */ $file)
    {
        if (!file_exists($file) || !is_readable($file)) {
            throw new NotFoundException(
                Message::get(Message::DEFINITION_NOT_FOUND, $file),
                Message::DEFINITION_NOT_FOUND
            );
        }
    }
protected function checkFileExistence(/*# string */ $file)
    {
        if (!file_exists($file) || !is_readable($file)) {
            throw new NotFoundException(
                Message::get(Message::DEFINITION_NOT_FOUND, $file),
                Message::DEFINITION_NOT_FOUND
            );
        }
    }
protected function checkFileExistence ( /*# string */ $ file ) { if ( ! file_exists ( $ file ) || ! is_readable ( $ file ) ) { throw new NotFoundException ( Message :: get ( Message :: DEFINITION_NOT_FOUND , $ file ) , Message :: DEFINITION_NOT_FOUND ) ; } }
Check file exists and readable

@param  string $file definition file name
@return void
@throws NotFoundException if not exist or readable
@access protected
Check file exists and readable