@param string $title

@Then /^(?:|I )should see (?:|an )excerpt of (?:|the )"(?P<title>([^"]*))" blog post on the list$/

@return \Behat\Behat\Context\Step\Then
164067
public function iShouldSeeAnExcerptOfBlogPost($title)
    {
        $post = $this->findPostByTitle($title);
        $excerpt = str_replace('"', '\\"', $post['post_excerpt']);

        return new Then(sprintf('I should see "%s" as an excerpt of the "%s" blog post', $excerpt, $title));
    }
478830
public function add_new_item($title='') {
        $nitem = new cc_item();
        $nitem->title = $title;
        $this->add_item($nitem);
        return $nitem;
    }
63572
public function getByTitle($title)
    {
        return new View(
            $this->getContext(),
            new ResourcePathServiceOperation($this->getContext(),$this->getResourcePath(),"getByTitle",array(rawurlencode($title)))
        );
    }
797406
public function actionGenerateSeoUrl($title)
    {
        $newSeoUrl = Inflector::slug($title);
        $seoUrl = SeoData::find()
            ->where(['entity_name' => ProductTranslation::className(), 'seo_url' => $newSeoUrl])
            ->one();
        if (!empty($seoUrl)) $newSeoUrl = $newSeoUrl . '-' . date("d-m-y-H-i-s");

        return $newSeoUrl;
    }
171634
public function setTitle($title)
    {
        // if the alias is empty use the title for the alias.
        if ($this->_alias === null) {
            $this->setAlias($title);
        }
        
        $this->_title = $title;
        
        return $this;
    }
1136110
public function endpoint_title( $title ) {
		global $wp_query;
		if ( isset( $wp_query->query_vars[ $this->endpoint ] ) && ! is_admin() && is_main_query() && in_the_loop() && is_account_page() ) {
			/**
			 * hametwoo_tab_title
			 *
			 * Filter for Tab title.
			 *
			 * @package hametwoo
			 * @since   0.8.0
			 * @param string $title      Original Title
			 * @param string $endpoint   Endpoint name.
			 * @param string $class_name The instance which fires this filter.
			 *
			 * @return string
			 */
			$title = apply_filters( 'hametwoo_tab_title', $this->get_title(), $this->endpoint, get_called_class() );
		}

		return $title;
	}
1320510
public function getMetaBox(string $title): NodeElement
    {
        $metaboxes = $this->findAll('css', '.postbox');
        if ($metaboxes) {
            foreach ($metaboxes as $metabox) {
                if ($metabox->find('css', 'h2')->getText() === $title) {
                    return $metabox;
                }
            }
        }

        throw new ExpectationException(
            sprintf(
                '[W400] Metabox "%s" not found on the screen.',
                $title
            ),
            $this->getDriver()
        );
    }
1082857
public static function title($title = null)
    {
        if (is_null($title)) {
            $title = config('app.title');
        }

        $tag = static::open('title');
        $tag .= $title;
        $tag .= static::close();

        return $tag;
    }
879763
public function addGroupTextareaAction($title)
	{
		$id = ($s = sizeof($this->group_actions)) ? ($s + 1) : 1;

		return $this->group_actions[$id] = new GroupTextareaAction($title);
	}
175543
public function setTitle(Title $title)
    {
        $this->attachment['title'] = $title;

        if ($title->hasLink()) {
            $this->attachment['title_link'] = $title->getLink();
        }

        return $this;
    }
1300857
private function findPostByTitle($title)
    {
        $postEntity = $this->getPhabric()->getEntity('Post');
        $post = $postEntity->getNamedItem($title);

        if (!$post) {
            throw new \LogicException(sprintf('Could not find a blog post of given title: "%s"', $title));
        }

        return $post;
    }
304865
public function setTitle($title)
    {
        $this->setAutoDiscoverTitle($title === null);
        $this->title = $title;

        return $this;
    }
1287725
public function setTitle($title)
	{
		$title = strip_tags($title);

		$this->title_session = $title;

		$this->title = $title . $this->getDefault('separator') . $this->getDefault('title');
	}
309441
public function createTitle($title)
    {
        $item = $this->list->createList($title);
        $item->attributes->addAttributeClass('menu-title');

        return $item;
    }
559656
public function iClickTheTitleOnTheBlogPostList($title)
    {
        $node = $this->getSession()->getPage()->find('xpath', sprintf('//h2[contains(., "%s")]/a', $title));

        if (is_null($node)) {
            throw new ElementNotFoundException($this->getSession(), 'Blog post title');
        }

        $node->click();
    }
1169226
public function title($title = null)
    {
        if (is_null($title)) {
            return $this->title;
        }

        $this->title = $title;

        return $this;
    }
347391
public function setTitle($title)
    {
        $this->title = $title;
        if($this->metaTitle == '') $this->metaTitle = $this->title;

        return $this;
    }