src/FS/File/Reader.php
public function readString()
	{
		if( !$this->exists( $this->fileName ) )
			throw new RuntimeException( 'File "'.$this->fileName.'" is not existing' );
		if( !$this->isReadable( $this->fileName ) )
			throw new RuntimeException( 'File "'.$this->fileName.'" is not readable' );
		return file_get_contents( $this->fileName );
	}
public function readString()
	{
		if( !$this->exists( $this->fileName ) )
			throw new RuntimeException( 'File "'.$this->fileName.'" is not existing' );
		if( !$this->isReadable( $this->fileName ) )
			throw new RuntimeException( 'File "'.$this->fileName.'" is not readable' );
		return file_get_contents( $this->fileName );
	}
public function readString ( ) { if ( ! $ this -> exists ( $ this -> fileName ) ) throw new RuntimeException ( 'File "' . $ this -> fileName . '" is not existing' ) ; if ( ! $ this -> isReadable ( $ this -> fileName ) ) throw new RuntimeException ( 'File "' . $ this -> fileName . '" is not readable' ) ; return file_get_contents ( $ this -> fileName ) ; }
Reads file and returns it as string.
@access		public
@return		string
@throws		RuntimeException			if File is not existing
@throws		RuntimeException			if File is not readable
Reads file and returns it as string .