POMO_CachedFileReader::__construct()publicWP 1.0

PHP5 constructor.

Method of the class: POMO_CachedFileReader{}

No Hooks.

Return

null. Nothing (null).

Usage

$POMO_CachedFileReader = new POMO_CachedFileReader();
$POMO_CachedFileReader->__construct( $filename );
$filename (required)
-

POMO_CachedFileReader::__construct() code WP 6.5.2

public function __construct( $filename ) {
	parent::__construct();
	$this->_str = file_get_contents( $filename );
	if ( false === $this->_str ) {
		return false;
	}
	$this->_pos = 0;
}