public Extension::__call($method, array $args)
Re-routes method calls to SplFileInfo.
Offers all SplFileInfo methods to consumers; e.g., $extension->getMTime().
public function __call($method, array $args) { if (!isset($this->splFileInfo)) { $this->splFileInfo = new \SplFileInfo($this->pathname); } return call_user_func_array(array($this->splFileInfo, $method), $args); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Extension!Extension.php/function/Extension::__call/8.1.x