These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | /** |
||
4 | * This file is part of the Axstrad library. |
||
5 | * |
||
6 | * (c) Dan Kempster <[email protected]> |
||
7 | * |
||
8 | * For the full copyright and license information, please view the LICENSE |
||
9 | * file that was distributed with this source code. |
||
10 | * |
||
11 | * @copyright 2014-2015 Dan Kempster <[email protected]> |
||
12 | */ |
||
13 | |||
14 | namespace Axstrad\Component\Content\Entity; |
||
15 | |||
16 | use Axstrad\Component\Content\Traits\CopyBasedIntroduction; |
||
17 | |||
18 | /** |
||
19 | * Axstrad\Component\Content\Entity\CopyBasedIntroductionTrait |
||
20 | * |
||
21 | * Use requirements: |
||
22 | * - Doctrine\ORM\Mapping as ORM |
||
23 | * |
||
24 | * @deprecated Will be removed in version 1.0 |
||
25 | */ |
||
26 | trait CopyBasedIntroductionTrait |
||
27 | { |
||
28 | use CopyTrait; |
||
0 ignored issues
–
show
|
|||
29 | use IntroductionTrait; |
||
0 ignored issues
–
show
The trait
Axstrad\Component\Content\Entity\IntroductionTrait has been deprecated with message: Will be removed in version 1.0
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.
Loading history...
|
|||
30 | use CopyBasedIntroduction { |
||
31 | CopyBasedIntroduction::getIntroduction insteadof IntroductionTrait; |
||
32 | CopyBasedIntroduction::setIntroduction insteadof IntroductionTrait; |
||
33 | CopyBasedIntroduction::getCopy insteadof CopyTrait; |
||
34 | CopyBasedIntroduction::setCopy insteadof CopyTrait; |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * Require by Traits\Introduction |
||
39 | * |
||
40 | * @var integer $copyIntroWordCount When an introduction is not set, this is |
||
41 | * the number of words to trim {@see getCopy copy} to, to create the |
||
42 | * introduction. |
||
43 | */ |
||
44 | protected $copyIntroWordCount = 30; |
||
45 | } |
||
46 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.