Site::__construct PHP Method

__construct() public method

public __construct ( $owner, $strength, $production )
    public function __construct($owner = 0, $strength = 0, $production = 0)
    {
        $this->owner = $owner;
        $this->strength = $strength;
        $this->production = $production;
    }

Usage Example

Example #1
0
 /**
  * Constructor.
  *
  * @since 1.21
  *
  * @param string $type
  */
 public function __construct($type = self::TYPE_MEDIAWIKI)
 {
     parent::__construct($type);
 }
All Usage Examples Of Site::__construct