Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Commit

Permalink
Merge pull request #791 from symfony-cmf/remove-php-5.3-note
Browse files Browse the repository at this point in the history
this note was only relevant for php 5.3
  • Loading branch information
dbu committed Jan 13, 2017
2 parents f72cad3 + 8c60a48 commit 73bdbd3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tutorial/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,6 @@ to reduce code duplication::
}
}

.. note::

Traits are only available as of PHP 5.4. If you are running a lesser
version of PHP you may copy the above code into each class to have the
same effect. You may not, however, ``extend`` one class from the other, as
this will cause unintended behavior in the admin integration later on.

The ``Page`` class is therefore nice and simple::

// src/AppBundle/Document/Page.php
Expand Down

0 comments on commit 73bdbd3

Please sign in to comment.