src/Mouf/Reflection/MoufReflectionProperty.php
public function getDeclaringClassWithoutTraits()
    {
        $refClass = parent::getDeclaringClass();
        if ($refClass->getName() === $this->className) {
            if (null === $this->refClass) {
                $this->refClass = new MoufReflectionClass($this->className);
            }
            
            return $this->refClass;
        }
        
        $moufRefClass = new MoufReflectionClass($refClass->getName());
        return $moufRefClass;
    }
public function getDeclaringClassWithoutTraits()
    {
        $refClass = parent::getDeclaringClass();
        if ($refClass->getName() === $this->className) {
            if (null === $this->refClass) {
                $this->refClass = new MoufReflectionClass($this->className);
            }
            
            return $this->refClass;
        }
        
        $moufRefClass = new MoufReflectionClass($refClass->getName());
        return $moufRefClass;
    }
public function getDeclaringClassWithoutTraits ( ) { $ refClass = parent :: getDeclaringClass ( ) ; if ( $ refClass -> getName ( ) === $ this -> className ) { if ( null === $ this -> refClass ) { $ this -> refClass = new MoufReflectionClass ( $ this -> className ) ; } return $ this -> refClass ; } $ moufRefClass = new MoufReflectionClass ( $ refClass -> getName ( ) ) ; return $ moufRefClass ; }
Returns the class that declares this parameter

@return  MoufReflectionClass
Returns the class that declares this parameter