public function __construct(StringType $xmlFile)
 {
     parent::__construct(new AclBuilder($xmlFile, new Acl()), new AclRenderer());
 }
Пример #2
0
 /**
  * @param StringType $crcyCode Currency code to build
  * @param StringType $namespace Namespace to implement class in
  * @param StringType $outDir Directory to output class code file to
  */
 public function __construct(StringType $crcyCode, StringType $namespace, StringType $outDir)
 {
     $builder = new CurrencyBuilder($crcyCode);
     $renderer = new CurrencyRenderer($namespace, $outDir);
     parent::__construct($builder, $renderer);
 }