Exemple #1
0
 /**
  * Determine if the property for this object exists. 
  *
  * Every property in __get must also be implemented here for Twig to recognize it.
  * @param string $name the name of the property to check.
  * @return bool true if the property is defined, false otherwise.
  */
 public function __isset($name)
 {
     if (in_array($name, [])) {
         return true;
     } else {
         return parent::__isset($name);
     }
 }
Exemple #2
0
 /**
  * Determine if the property for this object exists. 
  *
  * Every property in __get must also be implemented here for Twig to recognize it.
  * @param string $name the name of the property to check.
  * @return bool true if the property is defined, false otherwise.
  */
 public function __isset($name)
 {
     if (in_array($name, ["primary_group", "theme", "icon", "landing_page", "last_sign_in_event", "last_sign_in_time", "sign_up_time", "last_password_reset_time", "last_verification_request_time"])) {
         return true;
     } else {
         return parent::__isset($name);
     }
 }