src/Shared/Reader/ReaderAbstract.php
protected static function checkPath(/*# string */ $path)
    {
        if (!file_exists($path)) {
            throw new NotFoundException(
                Message::get(Message::MSG_PATH_NOTFOUND, $path),
                Message::MSG_PATH_NOTFOUND
            );
        }

        if (!is_readable($path)) {
            throw new RuntimeException(
                Message::get(Message::MSG_PATH_NONREADABLE, $path),
                Message::MSG_PATH_NONREADABLE
            );
        }
    }
protected static function checkPath(/*# string */ $path)
    {
        if (!file_exists($path)) {
            throw new NotFoundException(
                Message::get(Message::MSG_PATH_NOTFOUND, $path),
                Message::MSG_PATH_NOTFOUND
            );
        }

        if (!is_readable($path)) {
            throw new RuntimeException(
                Message::get(Message::MSG_PATH_NONREADABLE, $path),
                Message::MSG_PATH_NONREADABLE
            );
        }
    }
protected static function checkPath ( /*# string */ $ path ) { if ( ! file_exists ( $ path ) ) { throw new NotFoundException ( Message :: get ( Message :: MSG_PATH_NOTFOUND , $ path ) , Message :: MSG_PATH_NOTFOUND ) ; } if ( ! is_readable ( $ path ) ) { throw new RuntimeException ( Message :: get ( Message :: MSG_PATH_NONREADABLE , $ path ) , Message :: MSG_PATH_NONREADABLE ) ; } }
Check path existance & readability

@param  string $path
@throws NotFoundException if $path not found
@throws RuntimeException if $path not readable
@access protected
@static
Check path existance & readability