default services conflit ?

This commit is contained in:
armansansd
2022-04-27 11:30:43 +02:00
parent 28190a5749
commit 8bb1064a3b
8132 changed files with 900138 additions and 426 deletions

View File

@@ -0,0 +1,94 @@
<?php
/*
* This file is part of Zippy.
*
* (c) Alchemy <info@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Alchemy\Zippy\Adapter;
use Alchemy\Zippy\Parser\ParserInterface;
use Alchemy\Zippy\ProcessBuilder\ProcessBuilderFactoryInterface;
interface BinaryAdapterInterface
{
/**
* Gets the output parser
*
* @return ParserInterface
*/
public function getParser();
/**
* Sets the parser
*
* @param ParserInterface $parser The parser to use
*
* @return AbstractBinaryAdapter
*/
public function setParser(ParserInterface $parser);
/**
* Returns the inflator process builder
*
* @return ProcessBuilderFactoryInterface
*/
public function getInflator();
/**
* Sets the inflator process builder
*
* @param ProcessBuilderFactoryInterface $processBuilder The parser to use
*
* @return AbstractBinaryAdapter
*/
public function setInflator(ProcessBuilderFactoryInterface $processBuilder);
/**
* Returns the deflator process builder
*
* @return ProcessBuilderFactoryInterface
*/
public function getDeflator();
/**
* Sets the deflator process builder
*
* @param ProcessBuilderFactoryInterface $processBuilder The parser to use
*
* @return AbstractBinaryAdapter
*/
public function setDeflator(ProcessBuilderFactoryInterface $processBuilder);
/**
* Returns the inflator binary version
*
* @return string
*/
public function getInflatorVersion();
/**
* Returns the deflator binary version
*
* @return string
*/
public function getDeflatorVersion();
/**
* Gets the inflator adapter binary name
*
* @return array
*/
public static function getDefaultInflatorBinaryName();
/**
* Gets the deflator adapter binary name
*
* @return array
*/
public static function getDefaultDeflatorBinaryName();
}