PHP 클래스 Sylius\Bundle\CoreBundle\Installer\Setup\CurrencySetup

저자: Mateusz Zalewski ([email protected])
상속: implements Sylius\Bundle\CoreBundle\Installer\Setup\CurrencySetupInterface
파일 보기 프로젝트 열기: sylius/sylius

공개 메소드들

메소드 설명
__construct ( Sylius\Component\Resource\Repository\RepositoryInterface $currencyRepository, Sylius\Component\Resource\Factory\FactoryInterface $currencyFactory )
setup ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, Symfony\Component\Console\Helper\QuestionHelper $questionHelper )

비공개 메소드들

메소드 설명
getCurrencyCodeFromUser ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, Symfony\Component\Console\Helper\QuestionHelper $questionHelper ) : string
getCurrencyName ( string $code ) : string | null
getNewCurrencyCode ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, Symfony\Component\Console\Helper\QuestionHelper $questionHelper ) : string

메소드 상세

__construct() 공개 메소드

public __construct ( Sylius\Component\Resource\Repository\RepositoryInterface $currencyRepository, Sylius\Component\Resource\Factory\FactoryInterface $currencyFactory )
$currencyRepository Sylius\Component\Resource\Repository\RepositoryInterface
$currencyFactory Sylius\Component\Resource\Factory\FactoryInterface

setup() 공개 메소드

public setup ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, Symfony\Component\Console\Helper\QuestionHelper $questionHelper )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$questionHelper Symfony\Component\Console\Helper\QuestionHelper