public function setObjectsAllowed($objectsAllowed) { $this->objectsAllowed = $objectsAllowed; return $this; }