Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated docs relating to phpcr bin

  • Loading branch information...
commit a5cb795553cdd44969f5c35d3ebe50b89e03460c 1 parent dd4a075
@simensen simensen authored
View
1  .gitignore
@@ -1,2 +1,3 @@
build/
en/_build/
+en/_exts/configurationblock.pyc
View
BIN  en/_exts/configurationblock.pyc
Binary file not shown
View
4 en/index.rst
@@ -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
------------------------------------------
@@ -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>`
View
8 en/reference/installation-configuration.rst
@@ -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.
View
11 en/reference/tools.rst
@@ -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
~~~~~~~~~~~~~~~~
Please sign in to comment.
Something went wrong with that request. Please try again.