/** * @testdox markAsSafeAsURL() unconditionally marks the attribute as safe in context */ public function testMarkAsSafeAsURL() { $attr = new Attribute(); $attr->markAsSafeAsURL(); $this->assertTrue($attr->isSafeAsURL()); }
/** * {@inheritdoc} */ protected function isSafe(Attribute $attribute) { return $attribute->isSafeAsURL(); }