/** * I use this wrapper for default dot types, * it just makes the code easier to read. */ function __construct($colour, $size) { parent::__construct(); $this->colour($colour)->size($size); }