public static function createTwitterTagsForPost($post) {
        return [
            'twitter:card'        => Config::get('lasallecmsfrontend.twitter_card'),
            'twitter:site'        => Config::get('lasallecmsfrontend.twitter_site'),
            'twitter:title'       => $post->title,
            'twitter:description' => $post->meta_description,
            'twitter:creator'     => Config::get('lasallecmsfrontend.twitter_creator'),
            //'twitter:image:src'   => $post->urlImage,
            'twitter:image'       => $post->urlImage,
        ];
    }
public static function createTwitterTagsForPost($post) {
        return [
            'twitter:card'        => Config::get('lasallecmsfrontend.twitter_card'),
            'twitter:site'        => Config::get('lasallecmsfrontend.twitter_site'),
            'twitter:title'       => $post->title,
            'twitter:description' => $post->meta_description,
            'twitter:creator'     => Config::get('lasallecmsfrontend.twitter_creator'),
            //'twitter:image:src'   => $post->urlImage,
            'twitter:image'       => $post->urlImage,
        ];
    }
public static function createTwitterTagsForPost ( $ post ) { return [ 'twitter:card' => Config :: get ( 'lasallecmsfrontend.twitter_card' ) , 'twitter:site' => Config :: get ( 'lasallecmsfrontend.twitter_site' ) , 'twitter:title' => $ post -> title , 'twitter:description' => $ post -> meta_description , 'twitter:creator' => Config :: get ( 'lasallecmsfrontend.twitter_creator' ) , //'twitter:image:src'   => $post->urlImage, 'twitter:image' => $ post -> urlImage , ] ; }
Create an array of Twitter tags and their values for a post.

https://dev.twitter.com/cards/overview

@param  object   $post       The post object.
@return array
Create an array of Twitter tags and their values for a post .