protected function createDirectory() { $this->countCreatedDirectories++; parent::createDirectory(); }