Hello!

My typical bundle -

class TelenokAdminBundle extends Bundle {

    public function getNamespace() {
        return __NAMESPACE__;
    }

    public function getPath() {
        return strtr(__DIR__, '\\', '/');
    }

    public function build(ContainerBuilder $container) {
        parent::build($container);
    }

}

Seems, okey, but in 2.0PR got error:


Fatal error: Declaration of Telenok\AdminBundle
\TelenokAdminBundle::build() must be compatible with that of Symfony
\Component\HttpKernel\Bundle\BundleInterface::build()

Why? Thanks!

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to