public function classUsesParentsTrait($className)
    {
        if (is_object($className)) {
            $className = get_class($className);
        }

        if (false === isset($this->classUsingParentsTrait[$className])) {
            $this->classUsingParentsTrait[$className] = $this->checkClassUsesParentsTrait($className);
        }

        return $this->classUsingParentsTrait[$className];
    }
public function classUsesParentsTrait($className)
    {
        if (is_object($className)) {
            $className = get_class($className);
        }

        if (false === isset($this->classUsingParentsTrait[$className])) {
            $this->classUsingParentsTrait[$className] = $this->checkClassUsesParentsTrait($className);
        }

        return $this->classUsingParentsTrait[$className];
    }
public function classUsesParentsTrait ( $ className ) { if ( is_object ( $ className ) ) { $ className = get_class ( $ className ) ; } if ( false === isset ( $ this -> classUsingParentsTrait [ $ className ] ) ) { $ this -> classUsingParentsTrait [ $ className ] = $ this -> checkClassUsesParentsTrait ( $ className ) ; } return $ this -> classUsingParentsTrait [ $ className ] ; }
Will check and store the class names which use the trait `ParentsTrait`.

@param string|object $className
@return bool
Will check and store the class names which use the trait ParentsTrait .