Skip to content
This repository has been archived by the owner on Apr 7, 2018. It is now read-only.

Commit

Permalink
Updated docs relating to phpcr bin
Browse files Browse the repository at this point in the history
  • Loading branch information
simensen committed Sep 13, 2012
1 parent dd4a075 commit a5cb795
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
build/
en/_build/
en/_exts/configurationblock.pyc
Binary file removed en/_exts/configurationblock.pyc
Binary file not shown.
4 changes: 2 additions & 2 deletions en/index.rst
Expand Up @@ -23,7 +23,7 @@ Getting Started

* **Setup**:
:doc:`Installation and configuration <reference/installation-configuration>` |
:doc:`Introduction <reference/tools>`
:doc:`Tools <reference/tools>`

Mapping Objects onto a Document Repository
------------------------------------------
Expand Down Expand Up @@ -76,4 +76,4 @@ Cookbook
:doc:`Mapping classes to ORM and PHPCR-ODM <cookbook/mapping-classes-to-orm-and-phpcr-odm>`

* **Implementation**:
:doc:`Using Wakeup Or Clone <cookbook/implementing-wakeup-or-clone>`
:doc:`Using Wakeup Or Clone <cookbook/implementing-wakeup-or-clone>`
8 changes: 2 additions & 6 deletions en/reference/installation-configuration.rst
Expand Up @@ -572,12 +572,8 @@ Doctrine uses the Symfony Console component for generating the command
line interface. You can take a look at the ``bin/phpcr`` script for inspiration how to
setup the cli.



TODO: can we have that too?

If you installed Doctrine PHPCR-ODM through Composer, then the Doctrine command is
available to you in the bin-dir, by default at ``vendor/.bin/doctrine``.
If you installed Doctrine PHPCR-ODM through Composer, then the ``phpcr`` script is
available to you in the bin-dir, by default at ``vendor/bin/phpcr``.

See the next chapter on what the console provides you.

Expand Down
11 changes: 8 additions & 3 deletions en/reference/tools.rst
Expand Up @@ -21,13 +21,18 @@ about the use of generate entities for example, you can call:

.. code-block:: php
doctrine doctrine:phpcr:register-system-node-types --help
phpcr doctrine:phpcr:register-system-node-types --help
Configuration
~~~~~~~~~~~~~

To use the commands, you need to define the phpcr binary. The easiest is to copy
bin/phpcr from the phpcr-odm folder and put it into your project directory.
To use the commands, you need to define the phpcr binary.

If you installed Doctrine PHPCR-ODM through Composer, then the ``phpcr``
script is available to you in the bin-dir, by default at ``vendor/bin/phpcr``.

If you installed Doctrine PHPCR-ODM by some other means, copy ``bin/phpcr``
from the phpcr-odm folder and put it into your project directory.

Command Overview
~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit a5cb795

Please sign in to comment.