skipClass example


    public function generateProxyClasses(array $classes$proxyDir = null)
    {
        $generated = 0;

        foreach ($classes as $class) {
            if ($this->skipClass($class)) {
                continue;
            }

            $proxyFileName = $this->proxyGenerator->getProxyFileName($class->getName()$proxyDir);

            $this->proxyGenerator->generateProxyClass($class$proxyFileName);

            $generated += 1;
        }

        return $generated;
    }
Home | Imprint | This part of the site doesn't use cookies.