Source of file MethodObject.php
Size: 0,864 Bytes - Last Modified: 2014-05-08T01:19:22+02:00
/home/theseer/storage/php/phpdox/src/generator/project/objects/MethodObject.php
12345678910111213141516171819202122232425262728293031323334353637383940 | <?php namespace TheSeer\phpDox\Generator { use TheSeer\fDOM\fDOMElement; class MethodObject { /** * @var fDOMElement */ private $node; public function __construct(fDOMElement $node) { $this->node = $node; } public function asDom() { return $this->node; } public function getName() { return $this->node->getAttribute('name'); } public function isPublic() { return $this->node->getAttribute('visibility','public') == 'public'; } public function isPrivate() { return $this->node->getAttribute('visibility','public') == 'private'; } public function isProtected() { return $this->node->getAttribute('visibility','public') == 'protected'; } } } |