Source of file MemberObject.php
Size: 0,763 Bytes - Last Modified: 2014-05-08T01:19:22+02:00
/home/theseer/storage/php/phpdox/src/generator/project/objects/MemberObject.php
123456789101112131415161718192021222324252627282930313233343536 | <?php namespace TheSeer\phpDox\Generator { use TheSeer\fDOM\fDOMElement; class MemberObject { /** * @var fDOMElement */ private $node; public function __construct(fDOMElement $node) { $this->node = $node; } public function asDom() { return $this->node; } 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'; } } } |