File: OptionalDepsClass.php

package info (click to toggle)
php-phpspec-prophecy 1.12.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,140 kB
  • sloc: php: 9,123; makefile: 13
file content (16 lines) | stat: -rw-r--r-- 260 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

namespace Fixtures\Prophecy;

use I\Simply;

class OptionalDepsClass
{
    public function iHaveAStrangeTypeHintedArg(\I\Simply\Am\Nonexistent $class)
    {
    }

    public function iHaveAnEvenStrangerTypeHintedArg(Simply\Am\Not $class)
    {
    }
}