public function isInstantiable()
    {
        if ($this->isTrait() || $this->isInterface() || $this->isAbstract()) {
            return false;
        }

        foreach (array('__construct', $this->getShortName()) as $method) {
            if ($this->hasMethod($method)) {
                return $this->getMethod($method)->isPublic();
            }
        }
        return true;
    }
public function isInstantiable()
    {
        if ($this->isTrait() || $this->isInterface() || $this->isAbstract()) {
            return false;
        }

        foreach (array('__construct', $this->getShortName()) as $method) {
            if ($this->hasMethod($method)) {
                return $this->getMethod($method)->isPublic();
            }
        }
        return true;
    }
public function isInstantiable ( ) { if ( $ this -> isTrait ( ) || $ this -> isInterface ( ) || $ this -> isAbstract ( ) ) { return false ; } foreach ( array ( '__construct' , $ this -> getShortName ( ) ) as $ method ) { if ( $ this -> hasMethod ( $ method ) ) { return $ this -> getMethod ( $ method ) -> isPublic ( ) ; } } return true ; }
Checks whether this class is instantiable.

@return bool TRUE if the class is instantiable, FALSE otherwise.
Checks whether this class is instantiable .