コード例 #1
0
 /**
  * @inheritdoc
  */
 public function canGetProperty($name, $checkVars = true)
 {
     return $this->isAttribute($name) || parent::canGetProperty($name, $checkVars) || is_object($this->getTranslation()) && $this->getTranslation()->canGetProperty($name, $checkVars);
 }