public function addUse()
    {
        if (false === $this->isConfigured) {
            $this->configure();
            $this->isConfigured = true;
        }

        if ($this->referenceCounter < 0) {
            $this->referenceCounter = 0;
        }

        if ($this->referenceCounter === 0) {
            $this->setUp();
        }

        ++$this->referenceCounter;
    }
public function addUse()
    {
        if (false === $this->isConfigured) {
            $this->configure();
            $this->isConfigured = true;
        }

        if ($this->referenceCounter < 0) {
            $this->referenceCounter = 0;
        }

        if ($this->referenceCounter === 0) {
            $this->setUp();
        }

        ++$this->referenceCounter;
    }
public function addUse ( ) { if ( false === $ this -> isConfigured ) { $ this -> configure ( ) ; $ this -> isConfigured = true ; } if ( $ this -> referenceCounter < 0 ) { $ this -> referenceCounter = 0 ; } if ( $ this -> referenceCounter === 0 ) { $ this -> setUp ( ) ; } ++ $ this -> referenceCounter ; }
Marks as used the data source.
This method increases the internal reference count.
When the internal reference count goes from 0 to 1 setUp method
is invoked.
Marks as used the data source . This method increases the internal reference count . When the internal reference count goes from 0 to 1 setUp method is invoked .