예제 #1
0
 /**
  * @param string $dir
  * @param array $comments
  */
 public function __construct($dir, $comments = array())
 {
     parent::__construct($comments);
     $this->dir = $dir;
 }
예제 #2
0
파일: Add.php 프로젝트: smalot/dockerfile
 /**
  * @param array $sources
  * @param string $destination
  * @param array $comments
  */
 public function __construct($sources, $destination, $comments = array())
 {
     parent::__construct($comments);
     $this->sources = (array) $sources;
     $this->destination = $destination;
 }
예제 #3
0
파일: Env.php 프로젝트: smalot/dockerfile
 /**
  * @param string $name
  * @param string $value
  * @param array $comments
  */
 public function __construct($name, $value, $comments = array())
 {
     parent::__construct($comments);
     $this->name = $name;
     $this->value = $value;
 }
예제 #4
0
 /**
  * @param string $command
  * @param array $args
  * @param array $comments
  */
 public function __construct($command, $args = array(), $comments = array())
 {
     parent::__construct($comments);
     $this->command = $command;
     $this->args = $args;
 }
예제 #5
0
 /**
  * @param array $packages
  * @param array $comments
  */
 public function __construct($packages, $comments = array())
 {
     parent::__construct($comments);
     $this->packages = $packages;
 }
예제 #6
0
 /**
  * @param int|array $ports
  * @param array $comments
  */
 public function __construct($ports, $comments = array())
 {
     parent::__construct($comments);
     $this->ports = (array) $ports;
 }
예제 #7
0
 /**
  * @param AbstractLayer $layer
  * @param array $comments
  */
 public function __construct(AbstractLayer $layer, $comments = array())
 {
     parent::__construct($comments);
     $this->layer = $layer;
 }
예제 #8
0
파일: User.php 프로젝트: smalot/dockerfile
 /**
  * @param string $user
  * @param array $comments
  */
 public function __construct($user, $comments = array())
 {
     parent::__construct($comments);
     $this->user = $user;
 }
예제 #9
0
파일: Run.php 프로젝트: smalot/dockerfile
 /**
  * @param string|array $commands
  * @param array $comments
  */
 public function __construct($commands, $comments = array())
 {
     parent::__construct($comments);
     $this->commands = (array) $commands;
 }
예제 #10
0
 /**
  * @param string|array $volumes
  * @param array $comments
  */
 public function __construct($volumes, $comments = array())
 {
     parent::__construct($comments);
     $this->volumes = (array) $volumes;
 }