8000 added use statement and filepath to be consistent by OskarStark · Pull Request #11289 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

added use statement and filepath to be consistent #11289

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 1 commit into from
Apr 4, 2019
Merged
Changes from all commits
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
added use statement and filepath to be consistent
  • Loading branch information
OskarStark committed Apr 3, 2019
commit bbb67934751bf43a9567e0452dcb8b5136dcbcd5
4 changes: 4 additions & 0 deletions doctrine/lifecycle_callbacks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ callbacks. This is not necessary if you're using YAML or XML for your mapping.

.. code-block:: php-annotations

// src/AppBundle/Entity/Product.php
use Doctrine\ORM\Mapping as ORM;

/**
* @ORM\Entity()
* @ORM\HasLifecycleCallbacks()
Expand All @@ -33,6 +36,7 @@ the current date, only when the entity is first persisted (i.e. inserted):
.. code-block:: php-annotations

// src/AppBundle/Entity/Product.php
use Doctrine\ORM\Mapping as ORM;

/**
* @ORM\PrePersist
Expand Down
0