Jarves\Extractor\ClassExtractor::create PHP Method

create() public static method

public static create ( object $obj ) : static
$obj object
return static
    public static function create($obj)
    {
        return new static($obj);
    }

Usage Example

Beispiel #1
0
 /**
  * @param string $property
  * @return null|string
  */
 public function getPropertyDescription($property)
 {
     return ClassExtractor::create($this)->getPropertyComment($property);
 }