Facebook\InstantArticles\Transformer\Getters\StringGetter::withPrefix PHP Method

withPrefix() public method

public withPrefix ( string $prefix )
$prefix string
    public function withPrefix($prefix)
    {
        Type::enforce($prefix, Type::STRING);
        $this->prefix = $prefix;
        return $this;
    }