src/Sources/AbstractSource.php
public function setOption( string $name, $value )
   {

      $this->_options[ $name ] = $value;

      unset( $this->_options[ 'data' ] );

      return $this;

   }
public function setOption( string $name, $value )
   {

      $this->_options[ $name ] = $value;

      unset( $this->_options[ 'data' ] );

      return $this;

   }
public function setOption ( string $ name , $ value ) { $ this -> _options [ $ name ] = $ value ; unset ( $ this -> _options [ 'data' ] ) ; return $ this ; }
Sets a options value.

@param string $name
@param mixed  $value
@return \Niirrty\Translation\Sources\AbstractSource
Sets a options value .