spec/DummyData.php
public function getPost($formatAble = false)
    {
        $post = Post::published()->first();
        $post = self::fix($post);

        if ($formatAble) {
            $post = Manager::formatAble($post);
        }

        return $post;
    }
public function getPost($formatAble = false)
    {
        $post = Post::published()->first();
        $post = self::fix($post);

        if ($formatAble) {
            $post = Manager::formatAble($post);
        }

        return $post;
    }
public function getPost ( $ formatAble = false ) { $ post = Post :: published ( ) -> first ( ) ; $ post = self :: fix ( $ post ) ; if ( $ formatAble ) { $ post = Manager :: formatAble ( $ post ) ; } return $ post ; }
Get WordPress dummy data.

@param bool $formatAble

@return object
Get WordPress dummy data .