Example #1
0
 /**
  * Return the context containing the specified property.
  *
  * @param string $property
  * @return boolean|\Swagger\Context
  */
 public function with($property)
 {
     if (property_exists($this, $property)) {
         return $this;
     }
     if ($this->_parent) {
         return $this->_parent->with($property);
     }
     return false;
 }