protected function cleanup()
	{
		$items = $this->getParent(false)->listContents();

		foreach ($items as $item)
		{
			if (in_array($item->getName(), ['.svn', 'CVS', '.DS_Store', '__MACOSX']))
			{
				if (!$item->delete())
				{
					return false;
				}
			}
		}

		return true;
	}
protected function cleanup()
	{
		$items = $this->getParent(false)->listContents();

		foreach ($items as $item)
		{
			if (in_array($item->getName(), ['.svn', 'CVS', '.DS_Store', '__MACOSX']))
			{
				if (!$item->delete())
				{
					return false;
				}
			}
		}

		return true;
	}
protected function cleanup ( ) { $ items = $ this -> getParent ( false ) -> listContents ( ) ; foreach ( $ items as $ item ) { if ( in_array ( $ item -> getName ( ) , [ '.svn' , 'CVS' , '.DS_Store' , '__MACOSX' ] ) ) { if ( ! $ item -> delete ( ) ) { return false ; } } } return true ; }
Cleans the archive of OS-specific files

@return  bool
Cleans the archive of OS - specific files