/** * @param \Remotelyliving\PlumbusPhp\Models\DingleBop $dinglebop * * @throws \Remotelyliving\PlumbusPhp\Exceptions\PlumbusPhpException */ public function push(DingleBop $dinglebop) { if (!$dinglebop->wasSmoothedWithSchleem()) { throw new PlumbusPhpException('This dinglebop has not been smoothed with schleem yet.'); } $this->dinglebop = $dinglebop; }