Ejemplo n.º 1
0
        return array_merge($this->getImplementedInterfaces($all), $this->getExtendedClasses($all));
    }
    public function getNamespace()
    {
        return $this->namespace;
    }
    public function getFile()
    {
        return $this->file;
    }
    public function getName()
    {
        return $this->name;
    }
    public function getFQN()
    {
        return (string) $this->getNamespace() . '\\' . $this->name;
    }
    public function getPhpCode()
    {
        return $this->body;
    }
    public function __toString()
    {
        return "class " . $this->getName() . '{ ... }';
    }
}
/* -------------------------------------------------------------------------- */
$options = CommandLine::getOptions();
$WeixinFile = WeixinFile::from($options['source'], $options['exclude']);
$WeixinFile->saveTo($options['output']);