Phan\CodeBase::getPropertyMapByFullyQualifiedClassName PHP Method

getPropertyMapByFullyQualifiedClassName() public method

public getPropertyMapByFullyQualifiedClassName ( FullyQualifiedClassName $fqsen ) : array
$fqsen Phan\Language\FQSEN\FullyQualifiedClassName
return array The set of properties associated with the given class
    public function getPropertyMapByFullyQualifiedClassName(FullyQualifiedClassName $fqsen) : array
    {
        return $this->getClassMapByFullyQualifiedClassName($fqsen)->getPropertyMap();
    }

Usage Example

Example #1
0
File: Clazz.php Project: etsy/phan
 /**
  * @return Property[]
  * The list of properties on this class
  */
 public function getPropertyMap(CodeBase $code_base) : array
 {
     return $code_base->getPropertyMapByFullyQualifiedClassName($this->getFQSEN());
 }