DummyUsedInTrait example


    public function getMethodInExternalTraitObjectSameNamespace()
    {
        return new Dummy();
    }

    /** * @return DummyUsedInTrait */
    public function getMethodInExternalTraitObjectDifferentNamespace()
    {
        return new DummyUsedInTrait();
    }
}

    public function getMethodInTraitPrimitiveType()
    {
        return 'value';
    }

    /** * @return DummyUsedInTrait */
    public function getMethodInTraitObjectSameNamespace()
    {
        return new DummyUsedInTrait();
    }

    /** * @return Dummy */
    public function getMethodInTraitObjectDifferentNamespace()
    {
        return new Dummy();
    }
}
Home | Imprint | This part of the site doesn't use cookies.