/** * @author WN * @throws \WNowicki\Collections\Exception\InvalidTypeException */ public function __construct() { parent::__construct('\\stdClass'); }
/** * @author WN * @param null $type * @throws \WNowicki\Collections\Exception\InvalidClassException */ public function __construct($type = null) { parent::__construct($type === null ? '\\WNowicki\\Generic\\Contracts\\Entity' : $type); }