public function __construct() { parent::__construct(); $this->saveToFileCallback = __CLASS__ . '::saveToFile'; $this->createFolderCallback = __CLASS__ . '::createFolder'; }