Skip to content

Commit

Permalink
Clarify that we are using an entity to manage data
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Nov 27, 2015
1 parent 4e5db76 commit 4b521df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ This example uses the `default behaviour configuration <configuration.rst>`__ us
.. code:: php
<?php
$entity = [
$entity = new Entity([
'photo' => 'imageFile.jpg',
'photo_dir' => '7'
];
]);
echo $this->Html->link('../files/example/image/' . $entity->photo_dir . '/' . $entity->photo);
?>
Expand Down

0 comments on commit 4b521df

Please sign in to comment.