protected function initialize() { if ($this->initialized) { return; } $this->ensureDirectoryExists($this->directory, $this->create); $this->initialized = true; }