OptionalDepsClass.php 260 B

1234567891011121314151617
  1. <?php
  2. namespace Fixtures\Prophecy;
  3. use I\Simply;
  4. class OptionalDepsClass
  5. {
  6. public function iHaveAStrangeTypeHintedArg(\I\Simply\Am\Nonexistent $class)
  7. {
  8. }
  9. public function iHaveAnEvenStrangerTypeHintedArg(Simply\Am\Not $class)
  10. {
  11. }
  12. }