src/lib/Herrera/Box/Signature.php
private function handle()
    {
        if (!$this->handle) {
            if (!($this->handle = @fopen($this->file, 'rb'))) {
                throw FileException::lastError();
            }
        }

        return $this->handle;
    }
private function handle()
    {
        if (!$this->handle) {
            if (!($this->handle = @fopen($this->file, 'rb'))) {
                throw FileException::lastError();
            }
        }

        return $this->handle;
    }
private function handle ( ) { if ( ! $ this -> handle ) { if ( ! ( $ this -> handle = @ fopen ( $ this -> file , 'rb' ) ) ) { throw FileException :: lastError ( ) ; } } return $ this -> handle ; }
Returns the file handle.

If the file handle is not opened, it will be automatically opened.

@return resource The file handle.

@throws Exception
@throws FileException If the file could not be opened.
Returns the file handle .