for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace GoetasWebservices\XML\XSDReader;
use DOMElement;
use GoetasWebservices\XML\XSDReader\Schema\SchemaItem;
abstract class SchemaReaderFindAbstraction extends SchemaReaderCallbackAbstraction
{
/**
* @param string $attributeName
*
* @return SchemaItem
*/
protected function findSomeType(
SchemaItem $fromThis,
DOMElement $node,
$attributeName
) {
return $this->findSomeTypeFromAttribute(
$fromThis,
$node,
$node->getAttribute($attributeName)
);
}
protected function findSomeTypeFromAttribute(
* @var SchemaItem
$out = $this->findSomething(
'findType',
$fromThis->getSchema(),
return $out;