Decorator::__construct PHP Method

__construct() public method

public __construct ( Component $component )
$component Component
    public function __construct(Component $component)
    {
        $this->_component = $component;
    }

Usage Example

Esempio n. 1
0
 /**
  * @param RenderInterface $wrapable
  * @param $width
  * @param $color
  */
 public function __construct($wrapable, $width, $color)
 {
     parent::__construct($wrapable);
     $this->width = $width;
     $this->color = $color;
 }
All Usage Examples Of Decorator::__construct