Destiny\Model::__construct PHP Method

__construct() public method

public __construct ( array $properties )
$properties array
    public function __construct(array $properties)
    {
        $this->properties = $properties;
    }

Usage Example

コード例 #1
0
 public function __construct(Player $player, array $properties)
 {
     parent::__construct($properties);
     $this->player = $player;
     $this->cardCollection = new CardStatusCollection($this, $properties['cardCollection']);
     $this->themeCollection = new ThemeCollection($this, $this->definitions->themeCollection);
 }
All Usage Examples Of Destiny\Model::__construct