Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't create root node #26

Open
SimonIsMe opened this issue Jul 14, 2013 · 0 comments
Open

I can't create root node #26

SimonIsMe opened this issue Jul 14, 2013 · 0 comments

Comments

@SimonIsMe
Copy link

Hey, I want to build a simple web file manager. Right now I got a code looking like this:

    $config = new \DoctrineExtensions\NestedSet\Config($entityManager, 'src\File');
    $nsm = new \DoctrineExtensions\NestedSet\Manager($config);

    $file = new \src\File();
    $file->setName('Plik');

    var_dump($nsm->createRoot($file));

But it doesn't work. var_dump() in last line returns me nothing, even "null"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant