Skip to content

Commit

Permalink
minor #4523 Add missing semicolons to PropertyAccess examples (loonyt…
Browse files Browse the repository at this point in the history
…oons)

This PR was merged into the 2.3 branch.

Discussion
----------

Add missing semicolons to PropertyAccess examples

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3+
| Fixed tickets | none

Commits
-------

dbba41a Add missing semicolons to PropertyAccess examples
  • Loading branch information
wouterj committed Nov 28, 2014
2 parents 0d0b031 + dbba41a commit bf61658
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/property_access/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ configured to enable extra features. To do that you could use the
$accessorBuilder->disableMagicCall();

// Check if magic __call handling is enabled
$accessorBuilder->isMagicCallEnabled() // true or false
$accessorBuilder->isMagicCallEnabled(); // true or false

// At the end get the configured property accessor
$accessor = $accessorBuilder->getPropertyAccessor();
Expand All @@ -376,7 +376,7 @@ configured to enable extra features. To do that you could use the
Or you can pass parameters directly to the constructor (not the recommended way)::

// ...
$accessor = new PropertyAccessor(true) // this enables handling of magic __call
$accessor = new PropertyAccessor(true); // this enables handling of magic __call


.. _Packagist: https://packagist.org/packages/symfony/property-access

0 comments on commit bf61658

Please sign in to comment.