public function createNew(
        string $name,
        array $tags
    ) : array {
        $array = [
            'name' => $name,
            'tags' => $tags
        ];

        return $this->sendPost(
            sprintf('/profiles/%s/sources', $this->userName),
            [],
            $array
        );
    }
public function createNew(
        string $name,
        array $tags
    ) : array {
        $array = [
            'name' => $name,
            'tags' => $tags
        ];

        return $this->sendPost(
            sprintf('/profiles/%s/sources', $this->userName),
            [],
            $array
        );
    }
public function createNew ( string $ name , array $ tags ) : array { $ array = [ 'name' => $ name , 'tags' => $ tags ] ; return $ this -> sendPost ( sprintf ( '/profiles/%s/sources' , $ this -> userName ) , [ ] , $ array ) ; }
Creates a new source for the given username.

@param string $name
@param string $ipaddr
@param array  $tags

@return array Response
Creates a new source for the given username .