POMO_CachedFileReader::__construct( $filename )
PHP5 constructor.
Source
File: wp-includes/pomo/streams.php
function __construct( $filename ) {
parent::__construct();
$this->_str = file_get_contents( $filename );
if ( false === $this->_str ) {
return false;
}
$this->_pos = 0;
}
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/pomo_cachedfilereader/__construct