Lines Matching refs:method
138 foreach ($elem->xpath('./virtual-property') as $method) {
139 if (isset($method->attributes()->expression)) {
142 (string) $method->attributes()->name,
143 $this->parseExpression((string) $method->attributes()->expression)
146 if (!isset($method->attributes()->method)) {
149 …rtualPropertyMetadata = new VirtualPropertyMetadata($name, (string) $method->attributes()->method);
153 $propertiesNodes[] = $method;
340 foreach ($elem->xpath('./callback-method') as $method) {
341 if (!isset($method->attributes()->type)) {
344 if (!isset($method->attributes()->name)) {
348 switch ((string) $method->attributes()->type) {
350 … $metadata->addPreSerializeMethod(new MethodMetadata($name, (string) $method->attributes()->name));
354 …$metadata->addPostSerializeMethod(new MethodMetadata($name, (string) $method->attributes()->name));
358 …$metadata->addPostDeserializeMethod(new MethodMetadata($name, (string) $method->attributes()->name…
362 if (!isset($method->attributes()->format)) {
365 if (!isset($method->attributes()->direction)) {
372 …new InvalidMetadataException(sprintf('The type "%s" is not supported.', $method->attributes()->nam…