/**
  * @return DoctypeDeclaration
  **/
 public function setPublic($isPublic)
 {
     Assert::isBoolean($isPublic);
     $this->public = $isPublic;
     $this->inline = false;
     return $this;
 }
Example #2
0
 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();
 }
Example #3
0
 /**
  * @return Cdata
  **/
 public function setStrict($isStrict)
 {
     Assert::isBoolean($isStrict);
     $this->strict = $isStrict;
     return $this;
 }
Example #4
0
 /**
  * @param $really boolean
  *
  * @return CurlHttpClient
  **/
 public function setNoBody($really)
 {
     Assert::isBoolean($really);
     $this->noBody = $really;
     return $this;
 }
Example #5
0
 /**
  * @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;
 }
Example #7
0
 /**
  * @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;
 }
Example #8
0
 /**
  * @return RedirectView
  **/
 public function setBuildArrays($really)
 {
     Assert::isBoolean($really);
     $this->buildArrays = $really;
     return $this;
 }
Example #9
0
 /**
  * @return HtmlTokenizer
  **/
 public function lowercaseTags($isLowercaseTags)
 {
     Assert::isBoolean($isLowercaseTags);
     $this->lowercaseTags = $isLowercaseTags;
     return $this;
 }