getPropertiesByPath() 공개 메소드

Get all nodes of those properties in one batch, then collect the properties of them.
public getPropertiesByPath ( $absPaths ) : ArrayIterato\ArrayIterator
$absPaths
리턴 ArrayIterato\ArrayIterator that contains all found PropertyInterface instances keyed by their path
예제 #1
0
 public function getProperties($absPaths)
 {
     if (!is_array($absPaths) && !$absPaths instanceof \Traversable) {
         $hint = is_object($absPaths) ? get_class($absPaths) : gettype($absPaths);
         throw new InvalidArgumentException("Not a valid array or Traversable: {$hint}");
     }
     return $this->objectManager->getPropertiesByPath($absPaths);
 }