/** * {@inheritdoc} */ public function setMolino(MolinoInterface $molino) { if (!$molino instanceof Molino) { throw new \InvalidArgumentException('The molino must be an instance of Molino\\Mandango\\Molino.'); } parent::setMolino($molino); }
public function __construct(MolinoInterface $molino, $modelClass) { parent::__construct($molino, $modelClass); $this->fitlers = array(); }