Best Atoum code snippet using child.__invoke
__CG__MauticPageBundleEntityPage.php
Source:__CG__MauticPageBundleEntityPage.php
...75 * {@inheritDoc}76 */77 public function __clone()78 {79 $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);80 parent::__clone();81 }82 /**83 * Forces initialization of the proxy84 */85 public function __load()86 {87 $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);88 }89 /**90 * {@inheritDoc}91 * @internal generated method: use only when explicitly handling proxy specific loading logic92 */93 public function __isInitialized()94 {95 return $this->__isInitialized__;96 }97 /**98 * {@inheritDoc}99 * @internal generated method: use only when explicitly handling proxy specific loading logic100 */101 public function __setInitialized($initialized)102 {103 $this->__isInitialized__ = $initialized;104 }105 /**106 * {@inheritDoc}107 * @internal generated method: use only when explicitly handling proxy specific loading logic108 */109 public function __setInitializer(\Closure $initializer = null)110 {111 $this->__initializer__ = $initializer;112 }113 /**114 * {@inheritDoc}115 * @internal generated method: use only when explicitly handling proxy specific loading logic116 */117 public function __getInitializer()118 {119 return $this->__initializer__;120 }121 /**122 * {@inheritDoc}123 * @internal generated method: use only when explicitly handling proxy specific loading logic124 */125 public function __setCloner(\Closure $cloner = null)126 {127 $this->__cloner__ = $cloner;128 }129 /**130 * {@inheritDoc}131 * @internal generated method: use only when explicitly handling proxy specific cloning logic132 */133 public function __getCloner()134 {135 return $this->__cloner__;136 }137 /**138 * {@inheritDoc}139 * @internal generated method: use only when explicitly handling proxy specific loading logic140 * @deprecated no longer in use - generated code now relies on internal components rather than generated public API141 * @static142 */143 public function __getLazyProperties()144 {145 return self::$lazyPropertiesDefaults;146 }147 148 /**149 * {@inheritDoc}150 */151 public function getId()152 {153 if ($this->__isInitialized__ === false) {154 return (int) parent::getId();155 }156 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []);157 return parent::getId();158 }159 /**160 * {@inheritDoc}161 */162 public function setTitle($title)163 {164 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTitle', [$title]);165 return parent::setTitle($title);166 }167 /**168 * {@inheritDoc}169 */170 public function getTitle()171 {172 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTitle', []);173 return parent::getTitle();174 }175 /**176 * {@inheritDoc}177 */178 public function setAlias($alias)179 {180 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setAlias', [$alias]);181 return parent::setAlias($alias);182 }183 /**184 * {@inheritDoc}185 */186 public function getAlias()187 {188 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAlias', []);189 return parent::getAlias();190 }191 /**192 * {@inheritDoc}193 */194 public function setContent($content)195 {196 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setContent', [$content]);197 return parent::setContent($content);198 }199 /**200 * {@inheritDoc}201 */202 public function getContent()203 {204 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getContent', []);205 return parent::getContent();206 }207 /**208 * {@inheritDoc}209 */210 public function setPublishUp($publishUp)211 {212 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPublishUp', [$publishUp]);213 return parent::setPublishUp($publishUp);214 }215 /**216 * {@inheritDoc}217 */218 public function getPublishUp()219 {220 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPublishUp', []);221 return parent::getPublishUp();222 }223 /**224 * {@inheritDoc}225 */226 public function setPublishDown($publishDown)227 {228 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPublishDown', [$publishDown]);229 return parent::setPublishDown($publishDown);230 }231 /**232 * {@inheritDoc}233 */234 public function getPublishDown()235 {236 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPublishDown', []);237 return parent::getPublishDown();238 }239 /**240 * {@inheritDoc}241 */242 public function setHits($hits)243 {244 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setHits', [$hits]);245 return parent::setHits($hits);246 }247 /**248 * {@inheritDoc}249 */250 public function getHits($includeVariants = false)251 {252 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getHits', [$includeVariants]);253 return parent::getHits($includeVariants);254 }255 /**256 * {@inheritDoc}257 */258 public function setRevision($revision)259 {260 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setRevision', [$revision]);261 return parent::setRevision($revision);262 }263 /**264 * {@inheritDoc}265 */266 public function getRevision()267 {268 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRevision', []);269 return parent::getRevision();270 }271 /**272 * {@inheritDoc}273 */274 public function setMetaDescription($metaDescription)275 {276 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setMetaDescription', [$metaDescription]);277 return parent::setMetaDescription($metaDescription);278 }279 /**280 * {@inheritDoc}281 */282 public function getMetaDescription()283 {284 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMetaDescription', []);285 return parent::getMetaDescription();286 }287 /**288 * {@inheritDoc}289 */290 public function setRedirectType($redirectType)291 {292 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setRedirectType', [$redirectType]);293 return parent::setRedirectType($redirectType);294 }295 /**296 * {@inheritDoc}297 */298 public function getRedirectType()299 {300 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRedirectType', []);301 return parent::getRedirectType();302 }303 /**304 * {@inheritDoc}305 */306 public function setRedirectUrl($redirectUrl)307 {308 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setRedirectUrl', [$redirectUrl]);309 return parent::setRedirectUrl($redirectUrl);310 }311 /**312 * {@inheritDoc}313 */314 public function getRedirectUrl()315 {316 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRedirectUrl', []);317 return parent::getRedirectUrl();318 }319 /**320 * {@inheritDoc}321 */322 public function setCategory(\Mautic\CategoryBundle\Entity\Category $category = NULL)323 {324 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCategory', [$category]);325 return parent::setCategory($category);326 }327 /**328 * {@inheritDoc}329 */330 public function getCategory()331 {332 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCategory', []);333 return parent::getCategory();334 }335 /**336 * {@inheritDoc}337 */338 public function setIsPreferenceCenter($isPreferenceCenter)339 {340 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsPreferenceCenter', [$isPreferenceCenter]);341 return parent::setIsPreferenceCenter($isPreferenceCenter);342 }343 /**344 * {@inheritDoc}345 */346 public function getIsPreferenceCenter()347 {348 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsPreferenceCenter', []);349 return parent::getIsPreferenceCenter();350 }351 /**352 * {@inheritDoc}353 */354 public function setNoIndex($noIndex)355 {356 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNoIndex', [$noIndex]);357 return parent::setNoIndex($noIndex);358 }359 /**360 * {@inheritDoc}361 */362 public function getNoIndex()363 {364 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNoIndex', []);365 return parent::getNoIndex();366 }367 /**368 * {@inheritDoc}369 */370 public function setSessionId($id)371 {372 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSessionId', [$id]);373 return parent::setSessionId($id);374 }375 /**376 * {@inheritDoc}377 */378 public function getSessionId()379 {380 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSessionId', []);381 return parent::getSessionId();382 }383 /**384 * {@inheritDoc}385 */386 public function setTemplate($template)387 {388 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTemplate', [$template]);389 return parent::setTemplate($template);390 }391 /**392 * {@inheritDoc}393 */394 public function getTemplate()395 {396 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTemplate', []);397 return parent::getTemplate();398 }399 /**400 * {@inheritDoc}401 */402 public function setUniqueHits($uniqueHits)403 {404 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUniqueHits', [$uniqueHits]);405 return parent::setUniqueHits($uniqueHits);406 }407 /**408 * {@inheritDoc}409 */410 public function getUniqueHits($includeVariants = false)411 {412 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUniqueHits', [$includeVariants]);413 return parent::getUniqueHits($includeVariants);414 }415 /**416 * {@inheritDoc}417 */418 public function getVariantHits($includeVariants = false)419 {420 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getVariantHits', [$includeVariants]);421 return parent::getVariantHits($includeVariants);422 }423 /**424 * {@inheritDoc}425 */426 public function setVariantHits($variantHits)427 {428 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setVariantHits', [$variantHits]);429 return parent::setVariantHits($variantHits);430 }431 /**432 * {@inheritDoc}433 */434 public function getCustomHtml()435 {436 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCustomHtml', []);437 return parent::getCustomHtml();438 }439 /**440 * {@inheritDoc}441 */442 public function setCustomHtml($customHtml)443 {444 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCustomHtml', [$customHtml]);445 return parent::setCustomHtml($customHtml);446 }447 /**448 * {@inheritDoc}449 */450 public function isPublished($checkPublishStatus = true, $checkCategoryStatus = true)451 {452 $this->__initializer__ && $this->__initializer__->__invoke($this, 'isPublished', [$checkPublishStatus, $checkCategoryStatus]);453 return parent::isPublished($checkPublishStatus, $checkCategoryStatus);454 }455 /**456 * {@inheritDoc}457 */458 public function setDateAdded($dateAdded)459 {460 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateAdded', [$dateAdded]);461 return parent::setDateAdded($dateAdded);462 }463 /**464 * {@inheritDoc}465 */466 public function getDateAdded()467 {468 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateAdded', []);469 return parent::getDateAdded();470 }471 /**472 * {@inheritDoc}473 */474 public function setDateModified($dateModified)475 {476 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateModified', [$dateModified]);477 return parent::setDateModified($dateModified);478 }479 /**480 * {@inheritDoc}481 */482 public function getDateModified()483 {484 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateModified', []);485 return parent::getDateModified();486 }487 /**488 * {@inheritDoc}489 */490 public function setCheckedOut($checkedOut)491 {492 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCheckedOut', [$checkedOut]);493 return parent::setCheckedOut($checkedOut);494 }495 /**496 * {@inheritDoc}497 */498 public function getCheckedOut()499 {500 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCheckedOut', []);501 return parent::getCheckedOut();502 }503 /**504 * {@inheritDoc}505 */506 public function setCreatedBy($createdBy = NULL)507 {508 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedBy', [$createdBy]);509 return parent::setCreatedBy($createdBy);510 }511 /**512 * {@inheritDoc}513 */514 public function getCreatedBy()515 {516 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedBy', []);517 return parent::getCreatedBy();518 }519 /**520 * {@inheritDoc}521 */522 public function setModifiedBy($modifiedBy = NULL)523 {524 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setModifiedBy', [$modifiedBy]);525 return parent::setModifiedBy($modifiedBy);526 }527 /**528 * {@inheritDoc}529 */530 public function getModifiedBy()531 {532 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getModifiedBy', []);533 return parent::getModifiedBy();534 }535 /**536 * {@inheritDoc}537 */538 public function setCheckedOutBy($checkedOutBy = NULL)539 {540 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCheckedOutBy', [$checkedOutBy]);541 return parent::setCheckedOutBy($checkedOutBy);542 }543 /**544 * {@inheritDoc}545 */546 public function getCheckedOutBy()547 {548 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCheckedOutBy', []);549 return parent::getCheckedOutBy();550 }551 /**552 * {@inheritDoc}553 */554 public function setIsPublished($isPublished)555 {556 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsPublished', [$isPublished]);557 return parent::setIsPublished($isPublished);558 }559 /**560 * {@inheritDoc}561 */562 public function getIsPublished()563 {564 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsPublished', []);565 return parent::getIsPublished();566 }567 /**568 * {@inheritDoc}569 */570 public function getPublishStatus()571 {572 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPublishStatus', []);573 return parent::getPublishStatus();574 }575 /**576 * {@inheritDoc}577 */578 public function isNew()579 {580 $this->__initializer__ && $this->__initializer__->__invoke($this, 'isNew', []);581 return parent::isNew();582 }583 /**584 * {@inheritDoc}585 */586 public function setNew()587 {588 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNew', []);589 return parent::setNew();590 }591 /**592 * {@inheritDoc}593 */594 public function getCheckedOutByUser()595 {596 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCheckedOutByUser', []);597 return parent::getCheckedOutByUser();598 }599 /**600 * {@inheritDoc}601 */602 public function getCreatedByUser()603 {604 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedByUser', []);605 return parent::getCreatedByUser();606 }607 /**608 * {@inheritDoc}609 */610 public function getModifiedByUser()611 {612 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getModifiedByUser', []);613 return parent::getModifiedByUser();614 }615 /**616 * {@inheritDoc}617 */618 public function setCreatedByUser($createdByUser)619 {620 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedByUser', [$createdByUser]);621 return parent::setCreatedByUser($createdByUser);622 }623 /**624 * {@inheritDoc}625 */626 public function setModifiedByUser($modifiedByUser)627 {628 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setModifiedByUser', [$modifiedByUser]);629 return parent::setModifiedByUser($modifiedByUser);630 }631 /**632 * {@inheritDoc}633 */634 public function setCheckedOutByUser($checkedOutByUser)635 {636 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCheckedOutByUser', [$checkedOutByUser]);637 return parent::setCheckedOutByUser($checkedOutByUser);638 }639 /**640 * {@inheritDoc}641 */642 public function __call($name, $arguments)643 {644 $this->__initializer__ && $this->__initializer__->__invoke($this, '__call', [$name, $arguments]);645 return parent::__call($name, $arguments);646 }647 /**648 * {@inheritDoc}649 */650 public function __toString()651 {652 $this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []);653 return parent::__toString();654 }655 /**656 * {@inheritDoc}657 */658 public function getChanges($includePast = false)659 {660 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getChanges', [$includePast]);661 return parent::getChanges($includePast);662 }663 /**664 * {@inheritDoc}665 */666 public function resetChanges()667 {668 $this->__initializer__ && $this->__initializer__->__invoke($this, 'resetChanges', []);669 return parent::resetChanges();670 }671 /**672 * {@inheritDoc}673 */674 public function setChanges(array $changes)675 {676 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setChanges', [$changes]);677 return parent::setChanges($changes);678 }679 /**680 * {@inheritDoc}681 */682 public function addTranslationChild(\Mautic\CoreBundle\Entity\TranslationEntityInterface $child)683 {684 $this->__initializer__ && $this->__initializer__->__invoke($this, 'addTranslationChild', [$child]);685 return parent::addTranslationChild($child);686 }687 /**688 * {@inheritDoc}689 */690 public function removeTranslationChild(\Mautic\CoreBundle\Entity\TranslationEntityInterface $child)691 {692 $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeTranslationChild', [$child]);693 return parent::removeTranslationChild($child);694 }695 /**696 * {@inheritDoc}697 */698 public function getTranslationChildren()699 {700 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTranslationChildren', []);701 return parent::getTranslationChildren();702 }703 /**704 * {@inheritDoc}705 */706 public function setTranslationParent(\Mautic\CoreBundle\Entity\TranslationEntityInterface $parent = NULL)707 {708 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTranslationParent', [$parent]);709 return parent::setTranslationParent($parent);710 }711 /**712 * {@inheritDoc}713 */714 public function getTranslationParent()715 {716 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTranslationParent', []);717 return parent::getTranslationParent();718 }719 /**720 * {@inheritDoc}721 */722 public function removeTranslationParent()723 {724 $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeTranslationParent', []);725 return parent::removeTranslationParent();726 }727 /**728 * {@inheritDoc}729 */730 public function setLanguage($language)731 {732 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLanguage', [$language]);733 return parent::setLanguage($language);734 }735 /**736 * {@inheritDoc}737 */738 public function getLanguage()739 {740 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLanguage', []);741 return parent::getLanguage();742 }743 /**744 * {@inheritDoc}745 */746 public function isTranslation($isChild = false)747 {748 $this->__initializer__ && $this->__initializer__->__invoke($this, 'isTranslation', [$isChild]);749 return parent::isTranslation($isChild);750 }751 /**752 * {@inheritDoc}753 */754 public function hasTranslations()755 {756 $this->__initializer__ && $this->__initializer__->__invoke($this, 'hasTranslations', []);757 return parent::hasTranslations();758 }759 /**760 * {@inheritDoc}761 */762 public function clearTranslations()763 {764 $this->__initializer__ && $this->__initializer__->__invoke($this, 'clearTranslations', []);765 return parent::clearTranslations();766 }767 /**768 * {@inheritDoc}769 */770 public function getTranslations($onlyChildren = false)771 {772 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTranslations', [$onlyChildren]);773 return parent::getTranslations($onlyChildren);774 }775 /**776 * {@inheritDoc}777 */778 public function addVariantChild(\Mautic\CoreBundle\Entity\VariantEntityInterface $child)779 {780 $this->__initializer__ && $this->__initializer__->__invoke($this, 'addVariantChild', [$child]);781 return parent::addVariantChild($child);782 }783 /**784 * {@inheritDoc}785 */786 public function removeVariantChild(\Mautic\CoreBundle\Entity\VariantEntityInterface $child)787 {788 $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeVariantChild', [$child]);789 return parent::removeVariantChild($child);790 }791 /**792 * {@inheritDoc}793 */794 public function getVariantChildren()795 {796 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getVariantChildren', []);797 return parent::getVariantChildren();798 }799 /**800 * {@inheritDoc}801 */802 public function setVariantParent(\Mautic\CoreBundle\Entity\VariantEntityInterface $parent = NULL)803 {804 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setVariantParent', [$parent]);805 return parent::setVariantParent($parent);806 }807 /**808 * {@inheritDoc}809 */810 public function getVariantParent()811 {812 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getVariantParent', []);813 return parent::getVariantParent();814 }815 /**816 * {@inheritDoc}817 */818 public function removeVariantParent()819 {820 $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeVariantParent', []);821 return parent::removeVariantParent();822 }823 /**824 * {@inheritDoc}825 */826 public function setVariantSettings($variantSettings)827 {828 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setVariantSettings', [$variantSettings]);829 return parent::setVariantSettings($variantSettings);830 }831 /**832 * {@inheritDoc}833 */834 public function getVariantSettings()835 {836 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getVariantSettings', []);837 return parent::getVariantSettings();838 }839 /**840 * {@inheritDoc}841 */842 public function getVariantStartDate()843 {844 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getVariantStartDate', []);845 return parent::getVariantStartDate();846 }847 /**848 * {@inheritDoc}849 */850 public function setVariantStartDate($variantStartDate)851 {852 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setVariantStartDate', [$variantStartDate]);853 return parent::setVariantStartDate($variantStartDate);854 }855 /**856 * {@inheritDoc}857 */858 public function isVariant($isChild = false)859 {860 $this->__initializer__ && $this->__initializer__->__invoke($this, 'isVariant', [$isChild]);861 return parent::isVariant($isChild);862 }863 /**864 * {@inheritDoc}865 */866 public function hasVariants()867 {868 $this->__initializer__ && $this->__initializer__->__invoke($this, 'hasVariants', []);869 return parent::hasVariants();870 }871 /**872 * {@inheritDoc}873 */874 public function clearVariants()875 {876 $this->__initializer__ && $this->__initializer__->__invoke($this, 'clearVariants', []);877 return parent::clearVariants();878 }879 /**880 * {@inheritDoc}881 */882 public function getVariants()883 {884 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getVariants', []);885 return parent::getVariants();886 }887 /**888 * {@inheritDoc}889 */890 public function getRelatedEntityIds($publishedOnly = false)891 {892 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRelatedEntityIds', [$publishedOnly]);893 return parent::getRelatedEntityIds($publishedOnly);894 }895}...
__CG__MauticDynamicContentBundleEntityDynamicContent.php
Source:__CG__MauticDynamicContentBundleEntityDynamicContent.php
...75 * {@inheritDoc}76 */77 public function __clone()78 {79 $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);80 parent::__clone();81 }82 /**83 * Forces initialization of the proxy84 */85 public function __load()86 {87 $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);88 }89 /**90 * {@inheritDoc}91 * @internal generated method: use only when explicitly handling proxy specific loading logic92 */93 public function __isInitialized()94 {95 return $this->__isInitialized__;96 }97 /**98 * {@inheritDoc}99 * @internal generated method: use only when explicitly handling proxy specific loading logic100 */101 public function __setInitialized($initialized)102 {103 $this->__isInitialized__ = $initialized;104 }105 /**106 * {@inheritDoc}107 * @internal generated method: use only when explicitly handling proxy specific loading logic108 */109 public function __setInitializer(\Closure $initializer = null)110 {111 $this->__initializer__ = $initializer;112 }113 /**114 * {@inheritDoc}115 * @internal generated method: use only when explicitly handling proxy specific loading logic116 */117 public function __getInitializer()118 {119 return $this->__initializer__;120 }121 /**122 * {@inheritDoc}123 * @internal generated method: use only when explicitly handling proxy specific loading logic124 */125 public function __setCloner(\Closure $cloner = null)126 {127 $this->__cloner__ = $cloner;128 }129 /**130 * {@inheritDoc}131 * @internal generated method: use only when explicitly handling proxy specific cloning logic132 */133 public function __getCloner()134 {135 return $this->__cloner__;136 }137 /**138 * {@inheritDoc}139 * @internal generated method: use only when explicitly handling proxy specific loading logic140 * @deprecated no longer in use - generated code now relies on internal components rather than generated public API141 * @static142 */143 public function __getLazyProperties()144 {145 return self::$lazyPropertiesDefaults;146 }147 148 /**149 * {@inheritDoc}150 */151 public function clearStats()152 {153 $this->__initializer__ && $this->__initializer__->__invoke($this, 'clearStats', []);154 return parent::clearStats();155 }156 /**157 * {@inheritDoc}158 */159 public function getId()160 {161 if ($this->__isInitialized__ === false) {162 return (int) parent::getId();163 }164 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []);165 return parent::getId();166 }167 /**168 * {@inheritDoc}169 */170 public function getName()171 {172 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', []);173 return parent::getName();174 }175 /**176 * {@inheritDoc}177 */178 public function setName($name)179 {180 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', [$name]);181 return parent::setName($name);182 }183 /**184 * {@inheritDoc}185 */186 public function getDescription()187 {188 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', []);189 return parent::getDescription();190 }191 /**192 * {@inheritDoc}193 */194 public function setDescription($description)195 {196 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', [$description]);197 return parent::setDescription($description);198 }199 /**200 * {@inheritDoc}201 */202 public function getCategory()203 {204 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCategory', []);205 return parent::getCategory();206 }207 /**208 * {@inheritDoc}209 */210 public function setCategory($category)211 {212 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCategory', [$category]);213 return parent::setCategory($category);214 }215 /**216 * {@inheritDoc}217 */218 public function getPublishUp()219 {220 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPublishUp', []);221 return parent::getPublishUp();222 }223 /**224 * {@inheritDoc}225 */226 public function setPublishUp($publishUp)227 {228 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPublishUp', [$publishUp]);229 return parent::setPublishUp($publishUp);230 }231 /**232 * {@inheritDoc}233 */234 public function getPublishDown()235 {236 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPublishDown', []);237 return parent::getPublishDown();238 }239 /**240 * {@inheritDoc}241 */242 public function setPublishDown($publishDown)243 {244 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPublishDown', [$publishDown]);245 return parent::setPublishDown($publishDown);246 }247 /**248 * {@inheritDoc}249 */250 public function getContent()251 {252 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getContent', []);253 return parent::getContent();254 }255 /**256 * {@inheritDoc}257 */258 public function setContent($content)259 {260 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setContent', [$content]);261 return parent::setContent($content);262 }263 /**264 * {@inheritDoc}265 */266 public function getSentCount($includeVariants = false)267 {268 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSentCount', [$includeVariants]);269 return parent::getSentCount($includeVariants);270 }271 /**272 * {@inheritDoc}273 */274 public function setSentCount($sentCount)275 {276 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSentCount', [$sentCount]);277 return parent::setSentCount($sentCount);278 }279 /**280 * {@inheritDoc}281 */282 public function getStats()283 {284 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getStats', []);285 return parent::getStats();286 }287 /**288 * {@inheritDoc}289 */290 public function getIsCampaignBased()291 {292 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsCampaignBased', []);293 return parent::getIsCampaignBased();294 }295 /**296 * {@inheritDoc}297 */298 public function setIsCampaignBased($isCampaignBased)299 {300 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsCampaignBased', [$isCampaignBased]);301 return parent::setIsCampaignBased($isCampaignBased);302 }303 /**304 * {@inheritDoc}305 */306 public function getSlotName()307 {308 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSlotName', []);309 return parent::getSlotName();310 }311 /**312 * {@inheritDoc}313 */314 public function setSlotName($slotName)315 {316 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSlotName', [$slotName]);317 return parent::setSlotName($slotName);318 }319 /**320 * {@inheritDoc}321 */322 public function cleanSlotName()323 {324 $this->__initializer__ && $this->__initializer__->__invoke($this, 'cleanSlotName', []);325 return parent::cleanSlotName();326 }327 /**328 * {@inheritDoc}329 */330 public function setUtmTags(array $utmTags)331 {332 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUtmTags', [$utmTags]);333 return parent::setUtmTags($utmTags);334 }335 /**336 * {@inheritDoc}337 */338 public function getUtmTags()339 {340 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUtmTags', []);341 return parent::getUtmTags();342 }343 /**344 * {@inheritDoc}345 */346 public function isPublished($checkPublishStatus = true, $checkCategoryStatus = true)347 {348 $this->__initializer__ && $this->__initializer__->__invoke($this, 'isPublished', [$checkPublishStatus, $checkCategoryStatus]);349 return parent::isPublished($checkPublishStatus, $checkCategoryStatus);350 }351 /**352 * {@inheritDoc}353 */354 public function setDateAdded($dateAdded)355 {356 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateAdded', [$dateAdded]);357 return parent::setDateAdded($dateAdded);358 }359 /**360 * {@inheritDoc}361 */362 public function getDateAdded()363 {364 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateAdded', []);365 return parent::getDateAdded();366 }367 /**368 * {@inheritDoc}369 */370 public function setDateModified($dateModified)371 {372 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDateModified', [$dateModified]);373 return parent::setDateModified($dateModified);374 }375 /**376 * {@inheritDoc}377 */378 public function getDateModified()379 {380 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDateModified', []);381 return parent::getDateModified();382 }383 /**384 * {@inheritDoc}385 */386 public function setCheckedOut($checkedOut)387 {388 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCheckedOut', [$checkedOut]);389 return parent::setCheckedOut($checkedOut);390 }391 /**392 * {@inheritDoc}393 */394 public function getCheckedOut()395 {396 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCheckedOut', []);397 return parent::getCheckedOut();398 }399 /**400 * {@inheritDoc}401 */402 public function setCreatedBy($createdBy = NULL)403 {404 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedBy', [$createdBy]);405 return parent::setCreatedBy($createdBy);406 }407 /**408 * {@inheritDoc}409 */410 public function getCreatedBy()411 {412 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedBy', []);413 return parent::getCreatedBy();414 }415 /**416 * {@inheritDoc}417 */418 public function setModifiedBy($modifiedBy = NULL)419 {420 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setModifiedBy', [$modifiedBy]);421 return parent::setModifiedBy($modifiedBy);422 }423 /**424 * {@inheritDoc}425 */426 public function getModifiedBy()427 {428 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getModifiedBy', []);429 return parent::getModifiedBy();430 }431 /**432 * {@inheritDoc}433 */434 public function setCheckedOutBy($checkedOutBy = NULL)435 {436 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCheckedOutBy', [$checkedOutBy]);437 return parent::setCheckedOutBy($checkedOutBy);438 }439 /**440 * {@inheritDoc}441 */442 public function getCheckedOutBy()443 {444 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCheckedOutBy', []);445 return parent::getCheckedOutBy();446 }447 /**448 * {@inheritDoc}449 */450 public function setIsPublished($isPublished)451 {452 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setIsPublished', [$isPublished]);453 return parent::setIsPublished($isPublished);454 }455 /**456 * {@inheritDoc}457 */458 public function getIsPublished()459 {460 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIsPublished', []);461 return parent::getIsPublished();462 }463 /**464 * {@inheritDoc}465 */466 public function getPublishStatus()467 {468 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPublishStatus', []);469 return parent::getPublishStatus();470 }471 /**472 * {@inheritDoc}473 */474 public function isNew()475 {476 $this->__initializer__ && $this->__initializer__->__invoke($this, 'isNew', []);477 return parent::isNew();478 }479 /**480 * {@inheritDoc}481 */482 public function setNew()483 {484 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNew', []);485 return parent::setNew();486 }487 /**488 * {@inheritDoc}489 */490 public function getCheckedOutByUser()491 {492 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCheckedOutByUser', []);493 return parent::getCheckedOutByUser();494 }495 /**496 * {@inheritDoc}497 */498 public function getCreatedByUser()499 {500 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedByUser', []);501 return parent::getCreatedByUser();502 }503 /**504 * {@inheritDoc}505 */506 public function getModifiedByUser()507 {508 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getModifiedByUser', []);509 return parent::getModifiedByUser();510 }511 /**512 * {@inheritDoc}513 */514 public function setCreatedByUser($createdByUser)515 {516 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedByUser', [$createdByUser]);517 return parent::setCreatedByUser($createdByUser);518 }519 /**520 * {@inheritDoc}521 */522 public function setModifiedByUser($modifiedByUser)523 {524 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setModifiedByUser', [$modifiedByUser]);525 return parent::setModifiedByUser($modifiedByUser);526 }527 /**528 * {@inheritDoc}529 */530 public function setCheckedOutByUser($checkedOutByUser)531 {532 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCheckedOutByUser', [$checkedOutByUser]);533 return parent::setCheckedOutByUser($checkedOutByUser);534 }535 /**536 * {@inheritDoc}537 */538 public function __call($name, $arguments)539 {540 $this->__initializer__ && $this->__initializer__->__invoke($this, '__call', [$name, $arguments]);541 return parent::__call($name, $arguments);542 }543 /**544 * {@inheritDoc}545 */546 public function __toString()547 {548 $this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []);549 return parent::__toString();550 }551 /**552 * {@inheritDoc}553 */554 public function getChanges($includePast = false)555 {556 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getChanges', [$includePast]);557 return parent::getChanges($includePast);558 }559 /**560 * {@inheritDoc}561 */562 public function resetChanges()563 {564 $this->__initializer__ && $this->__initializer__->__invoke($this, 'resetChanges', []);565 return parent::resetChanges();566 }567 /**568 * {@inheritDoc}569 */570 public function setChanges(array $changes)571 {572 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setChanges', [$changes]);573 return parent::setChanges($changes);574 }575 /**576 * {@inheritDoc}577 */578 public function addTranslationChild(\Mautic\CoreBundle\Entity\TranslationEntityInterface $child)579 {580 $this->__initializer__ && $this->__initializer__->__invoke($this, 'addTranslationChild', [$child]);581 return parent::addTranslationChild($child);582 }583 /**584 * {@inheritDoc}585 */586 public function removeTranslationChild(\Mautic\CoreBundle\Entity\TranslationEntityInterface $child)587 {588 $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeTranslationChild', [$child]);589 return parent::removeTranslationChild($child);590 }591 /**592 * {@inheritDoc}593 */594 public function getTranslationChildren()595 {596 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTranslationChildren', []);597 return parent::getTranslationChildren();598 }599 /**600 * {@inheritDoc}601 */602 public function setTranslationParent(\Mautic\CoreBundle\Entity\TranslationEntityInterface $parent = NULL)603 {604 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTranslationParent', [$parent]);605 return parent::setTranslationParent($parent);606 }607 /**608 * {@inheritDoc}609 */610 public function getTranslationParent()611 {612 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTranslationParent', []);613 return parent::getTranslationParent();614 }615 /**616 * {@inheritDoc}617 */618 public function removeTranslationParent()619 {620 $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeTranslationParent', []);621 return parent::removeTranslationParent();622 }623 /**624 * {@inheritDoc}625 */626 public function setLanguage($language)627 {628 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setLanguage', [$language]);629 return parent::setLanguage($language);630 }631 /**632 * {@inheritDoc}633 */634 public function getLanguage()635 {636 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLanguage', []);637 return parent::getLanguage();638 }639 /**640 * {@inheritDoc}641 */642 public function isTranslation($isChild = false)643 {644 $this->__initializer__ && $this->__initializer__->__invoke($this, 'isTranslation', [$isChild]);645 return parent::isTranslation($isChild);646 }647 /**648 * {@inheritDoc}649 */650 public function hasTranslations()651 {652 $this->__initializer__ && $this->__initializer__->__invoke($this, 'hasTranslations', []);653 return parent::hasTranslations();654 }655 /**656 * {@inheritDoc}657 */658 public function clearTranslations()659 {660 $this->__initializer__ && $this->__initializer__->__invoke($this, 'clearTranslations', []);661 return parent::clearTranslations();662 }663 /**664 * {@inheritDoc}665 */666 public function getTranslations($onlyChildren = false)667 {668 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTranslations', [$onlyChildren]);669 return parent::getTranslations($onlyChildren);670 }671 /**672 * {@inheritDoc}673 */674 public function addVariantChild(\Mautic\CoreBundle\Entity\VariantEntityInterface $child)675 {676 $this->__initializer__ && $this->__initializer__->__invoke($this, 'addVariantChild', [$child]);677 return parent::addVariantChild($child);678 }679 /**680 * {@inheritDoc}681 */682 public function removeVariantChild(\Mautic\CoreBundle\Entity\VariantEntityInterface $child)683 {684 $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeVariantChild', [$child]);685 return parent::removeVariantChild($child);686 }687 /**688 * {@inheritDoc}689 */690 public function getVariantChildren()691 {692 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getVariantChildren', []);693 return parent::getVariantChildren();694 }695 /**696 * {@inheritDoc}697 */698 public function setVariantParent(\Mautic\CoreBundle\Entity\VariantEntityInterface $parent = NULL)699 {700 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setVariantParent', [$parent]);701 return parent::setVariantParent($parent);702 }703 /**704 * {@inheritDoc}705 */706 public function getVariantParent()707 {708 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getVariantParent', []);709 return parent::getVariantParent();710 }711 /**712 * {@inheritDoc}713 */714 public function removeVariantParent()715 {716 $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeVariantParent', []);717 return parent::removeVariantParent();718 }719 /**720 * {@inheritDoc}721 */722 public function setVariantSettings($variantSettings)723 {724 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setVariantSettings', [$variantSettings]);725 return parent::setVariantSettings($variantSettings);726 }727 /**728 * {@inheritDoc}729 */730 public function getVariantSettings()731 {732 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getVariantSettings', []);733 return parent::getVariantSettings();734 }735 /**736 * {@inheritDoc}737 */738 public function getVariantStartDate()739 {740 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getVariantStartDate', []);741 return parent::getVariantStartDate();742 }743 /**744 * {@inheritDoc}745 */746 public function setVariantStartDate($variantStartDate)747 {748 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setVariantStartDate', [$variantStartDate]);749 return parent::setVariantStartDate($variantStartDate);750 }751 /**752 * {@inheritDoc}753 */754 public function isVariant($isChild = false)755 {756 $this->__initializer__ && $this->__initializer__->__invoke($this, 'isVariant', [$isChild]);757 return parent::isVariant($isChild);758 }759 /**760 * {@inheritDoc}761 */762 public function hasVariants()763 {764 $this->__initializer__ && $this->__initializer__->__invoke($this, 'hasVariants', []);765 return parent::hasVariants();766 }767 /**768 * {@inheritDoc}769 */770 public function clearVariants()771 {772 $this->__initializer__ && $this->__initializer__->__invoke($this, 'clearVariants', []);773 return parent::clearVariants();774 }775 /**776 * {@inheritDoc}777 */778 public function getVariants()779 {780 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getVariants', []);781 return parent::getVariants();782 }783 /**784 * {@inheritDoc}785 */786 public function getRelatedEntityIds($publishedOnly = false)787 {788 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRelatedEntityIds', [$publishedOnly]);789 return parent::getRelatedEntityIds($publishedOnly);790 }791 /**792 * {@inheritDoc}793 */794 public function getFilters()795 {796 $this->__initializer__ && $this->__initializer__->__invoke($this, 'getFilters', []);797 return parent::getFilters();798 }799 /**800 * {@inheritDoc}801 */802 public function setFilters($filters)803 {804 $this->__initializer__ && $this->__initializer__->__invoke($this, 'setFilters', [$filters]);805 return parent::setFilters($filters);806 }807}...
__invoke
Using AI Code Generation
1$obj = new child();2$obj();3$obj = new child();4$obj(1,2,3,4);5$obj = new child();6$obj(1,2,3,4,5,6,7,8,9,10);7$obj = new child();8$obj(1,2,3,4,5,6,7,8,9,10,11);9$obj = new child();10$obj(1,2,3,4,5,6,7,8,9,10,11,12);
__invoke
Using AI Code Generation
1$obj = new Child();2$obj();3$obj = new Child();4echo $obj(10, 20);5$obj = new Child();6echo $obj(10, 20, 30);
__invoke
Using AI Code Generation
1$obj = new Child();2$obj();3$obj = new Parent();4$obj();5$obj = new Child();6$obj();7$obj = new Parent();8$obj();9$obj = new Child();10$obj();11$obj = new Parent();12$obj();13$obj = new Child();14$obj();15$obj = new Parent();16$obj();17$obj = new Child();18$obj();19$obj = new Parent();20$obj();21$obj = new Child();22$obj();23$obj = new Parent();24$obj();25$obj = new Child();26$obj();
__invoke
Using AI Code Generation
1$childObj = new Child();2$childObj();3I am in Parent::__invoke()4I am in Child::__invoke()5How to use PHP __invoke() magic method?6How to use PHP __toString() magic method?7How to use PHP __get() magic method?8How to use PHP __set() magic method?9How to use PHP __isset() magic method?10How to use PHP __unset() magic method?11How to use PHP __sleep() magic method?12How to use PHP __wakeup() magic method?13How to use PHP __call() magic method?14How to use PHP __callStatic() magic method?15How to use PHP __clone() magic method?16How to use PHP __debugInfo() magic method?17How to use PHP __set_state() magic method?18How to use PHP __serialize() magic method?19How to use PHP __unserialize() magic method?20How to use PHP __autoload() magic method?21How to use PHP __set_state() magic met
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Execute automation tests with __invoke on a cloud-based Grid of 3000+ real browsers and operating systems for both web and mobile applications.
Test now for FreeGet 100 minutes of automation test minutes FREE!!