skipFolders[] = basename(EDITOR_PATH); } /** * Accepts only folders with valid names. * * @return boolean */ public function accept() { return !in_array( $this->current()->getFilename(), $this->skipFolders, true ); } }