Lines Matching refs:this

63         if ($this->initialized) {
67 $this->format = $format;
68 $this->visitor = $visitor;
69 $this->navigator = $navigator;
70 $this->metadataFactory = $factory;
71 $this->metadataStack = new \SplStack();
73 if (isset($this->attributes['groups'])) {
74 $this->addExclusionStrategy(new GroupsExclusionStrategy($this->attributes['groups']));
77 if (isset($this->attributes['version'])) {
78 $this->addExclusionStrategy(new VersionExclusionStrategy($this->attributes['version']));
81 if (!empty($this->attributes['max_depth_checks'])) {
82 $this->addExclusionStrategy(new DepthExclusionStrategy());
85 $this->initialized = true;
90 return $this->metadataFactory;
95 return $this->visitor;
100 return $this->navigator;
105 return $this->exclusionStrategy;
113 return $this->attributes[$key];
118 return isset($this->attributes[$key]);
126 $this->assertMutable();
127 $this->attributes[$key] = $value;
129 return $this;
134 if (!$this->initialized) {
143 $this->assertMutable();
145 if (null === $this->exclusionStrategy) {
146 $this->exclusionStrategy = $strategy;
147 return $this;
150 if ($this->exclusionStrategy instanceof DisjunctExclusionStrategy) {
151 $this->exclusionStrategy->addStrategy($strategy);
152 return $this;
155 $this->exclusionStrategy = new DisjunctExclusionStrategy([
156 $this->exclusionStrategy,
160 return $this;
165 $this->attributes['version'] = $version;
167 return $this;
179 $this->attributes['groups'] = (array) $groups;
181 return $this;
186 $this->attributes['max_depth_checks'] = true;
188 return $this;
193 return $this->format;
198 $this->metadataStack->push($metadata);
203 $this->metadataStack->push($metadata);
208 $metadata = $this->metadataStack->pop();
217 $metadata = $this->metadataStack->pop();
226 return $this->metadataStack;
234 if (!$this->metadataStack) {
239 foreach ($this->metadataStack as $metadata) {