/** * @return DoctypeDeclaration **/ public function setPublic($isPublic) { Assert::isBoolean($isPublic); $this->public = $isPublic; $this->inline = false; return $this; }
public function __construct(Identifiable $parent, GenericDAO $dao, $lazy = true) { Assert::isBoolean($lazy); $this->parent = $parent; $this->lazy = $lazy; $this->dao = $dao; Assert::isInstance($dao->getObjectName(), Identifiable::class); $this->comparator = SerializedObjectComparator::me(); }
/** * @return Cdata **/ public function setStrict($isStrict) { Assert::isBoolean($isStrict); $this->strict = $isStrict; return $this; }
/** * @param $really boolean * * @return CurlHttpClient **/ public function setNoBody($really) { Assert::isBoolean($really); $this->noBody = $really; return $this; }
/** * @return SgmlOpenTag **/ public function setEmpty($isEmpty) { Assert::isBoolean($isEmpty); $this->empty = $isEmpty; return $this; }
public function setOverlapped($overlapped = true) { Assert::isBoolean($overlapped); $this->overlapped = $overlapped === true; return $this; }
/** * @return Criteria **/ public function fetchCollection($path, $lazy = false, $criteria = null) { Assert::isBoolean($lazy); Assert::isTrue($criteria === null || $criteria instanceof Criteria); $this->collections[$path]['lazy'] = $lazy; $this->collections[$path]['criteria'] = $criteria; $this->collections[$path]['propertyPath'] = new PropertyPath($this->checkAndGetDao()->getObjectName(), $path); return $this; }
/** * @return RedirectView **/ public function setBuildArrays($really) { Assert::isBoolean($really); $this->buildArrays = $really; return $this; }
/** * @return HtmlTokenizer **/ public function lowercaseTags($isLowercaseTags) { Assert::isBoolean($isLowercaseTags); $this->lowercaseTags = $isLowercaseTags; return $this; }