public function isShared( $abstract )
    {
        if ( isset( $this->bindings[ $abstract ][ 'shared' ] ) )
        {
            $shared = $this->bindings[ $abstract ][ 'shared' ];
        }
        else
        {
            $shared = FALSE;
        }

        return isset( $this->instances[ $abstract ] ) || TRUE === $shared;
    }
public function isShared( $abstract )
    {
        if ( isset( $this->bindings[ $abstract ][ 'shared' ] ) )
        {
            $shared = $this->bindings[ $abstract ][ 'shared' ];
        }
        else
        {
            $shared = FALSE;
        }

        return isset( $this->instances[ $abstract ] ) || TRUE === $shared;
    }
public function isShared ( $ abstract ) { if ( isset ( $ this -> bindings [ $ abstract ] [ 'shared' ] ) ) { $ shared = $ this -> bindings [ $ abstract ] [ 'shared' ] ; } else { $ shared = FALSE ; } return isset ( $ this -> instances [ $ abstract ] ) || TRUE === $ shared ; }
Determine if a given type is shared.

@param  string $abstract

@return bool
Determine if a given type is shared .