/** * Constructor * * @param $width * @param $template * @param array $boxes */ public function __construct($width, LayoutBoxCollection $boxes) { $this->width = $width; $this->boxes = $boxes->all(); }