Skip to content

added a tip to register annotations namespaces #7511

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

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Removed the reference to specific Symfony files
  • Loading branch information
javiereguiluz authored Jan 12, 2018
commit 1ce3a43b41cac12ff229d5585db2f5c858246652
4 changes: 2 additions & 2 deletions _includes/_annotation_loader_tip.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

.. tip::

  Annotation classes aren't loaded automatically, so you must load them
like Symfony does in the ``app/autoload.php`` file::
Annotation classes aren't loaded automatically, so you must load them
using a class loader like this::

      use Composer\Autoload\ClassLoader;
use Doctrine\Common\Annotations\AnnotationRegistry;
Expand Down