/** * @inheritdoc */ public function getFieldsToHide() { if (!array_key_exists('fieldsToHide', $this->cache)) { $this->cache['fieldsToHide'] = $this->storage->getFieldsToHide(); } return $this->cache['fieldsToHide']; }
/** * @return \Staffim\DTOBundle\MappingStorage\Config */ protected function getRelations() { return $this->mappingStorage->getRelations(); }
/** * @param array $propertyName * @return bool */ public function hasRelation(array $propertyPath) { return $this->storage->getRelations()->hasPath($propertyPath, false); }