mirror of
https://github.com/Codappix/typo3-php-datasets.git
synced 2024-12-04 08:56:10 +01:00
Clarify trait usage (#15)
Properly state that this is a trait, the class name does not suggest so ATM. Also suggest renaming it on import to avoid confusion.
This commit is contained in:
parent
747a0fca3a
commit
a7fe26f307
1 changed files with 9 additions and 2 deletions
11
README.rst
11
README.rst
|
@ -51,11 +51,18 @@ Within testing framework
|
|||
],
|
||||
];
|
||||
|
||||
#. Add API
|
||||
#. Import the :php:`Codappix\Typo3PhpDatasets\TestingFramework` trait
|
||||
|
||||
.. code-block:: php
|
||||
|
||||
use Codappix\Typo3PhpDatasets\TestingFramework;
|
||||
use Codappix\Typo3PhpDatasets\TestingFramework as PhpDatasets;
|
||||
|
||||
final class MyTest extends FunctionalTestCase
|
||||
{
|
||||
use PhpDatasets;
|
||||
|
||||
// ...
|
||||
}
|
||||
|
||||
#. Use API
|
||||
|
||||
|
|
Loading…
Reference in a new issue