private function createTweet(array $tweet, User $user)
    {
        $this->fields = [
            'id'             => $this->getValue('id', $tweet),
            'text'           => $this->getValue('text', $tweet),
            'source'         => $this->getValue('source', $tweet),
            'url'            => $this->getValue('url', $tweet),
            'retweet_count'  => $this->getValue('retweet_count', $tweet),
            'favorite_count' => $this->getValue('favorite_count', $tweet),
            'created_at'     => $this->getValue('created_at', $tweet),
            'hashtags'       => $this->listHashTags($tweet),
            'user'           => $user
        ];
    }
private function createTweet(array $tweet, User $user)
    {
        $this->fields = [
            'id'             => $this->getValue('id', $tweet),
            'text'           => $this->getValue('text', $tweet),
            'source'         => $this->getValue('source', $tweet),
            'url'            => $this->getValue('url', $tweet),
            'retweet_count'  => $this->getValue('retweet_count', $tweet),
            'favorite_count' => $this->getValue('favorite_count', $tweet),
            'created_at'     => $this->getValue('created_at', $tweet),
            'hashtags'       => $this->listHashTags($tweet),
            'user'           => $user
        ];
    }
private function createTweet ( array $ tweet , User $ user ) { $ this -> fields = [ 'id' => $ this -> getValue ( 'id' , $ tweet ) , 'text' => $ this -> getValue ( 'text' , $ tweet ) , 'source' => $ this -> getValue ( 'source' , $ tweet ) , 'url' => $ this -> getValue ( 'url' , $ tweet ) , 'retweet_count' => $ this -> getValue ( 'retweet_count' , $ tweet ) , 'favorite_count' => $ this -> getValue ( 'favorite_count' , $ tweet ) , 'created_at' => $ this -> getValue ( 'created_at' , $ tweet ) , 'hashtags' => $ this -> listHashTags ( $ tweet ) , 'user' => $ user ] ; }
Set most used tweet properties

@link https://dev.twitter.com/docs/platform-objects/tweets

@param array $tweet
@param User $user

@return void
Set most used tweet properties