lib/providers/BaseProvider.php
public function setId($id)
    {
        if (isset($this->id)) {
            throw new InvalidCallException('Setting read-only property: ' . get_class($this) . '::id');
        }
        $this->id = $id;
    }
public function setId($id)
    {
        if (isset($this->id)) {
            throw new InvalidCallException('Setting read-only property: ' . get_class($this) . '::id');
        }
        $this->id = $id;
    }
public function setId ( $ id ) { if ( isset ( $ this -> id ) ) { throw new InvalidCallException ( 'Setting read-only property: ' . get_class ( $ this ) . '::id' ) ; } $ this -> id = $ id ; }
Sets the provider ID

@param string $id the ID of the provider
@throws InvalidCallException when the ID is already set
Sets the provider ID