WordPress at a glance
function is not described

POMO_CachedFileReader::__construct() public WP 1.0

PHP5 constructor.

{} It's a method of the class: POMO_CachedFileReader{}

No Hooks.

Return

````. Null. Nothing.

Usage

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

Code of POMO_CachedFileReader::__construct() WP 5.7

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