public function GeneratedLink::count

public GeneratedLink::count()

File

core/lib/Drupal/Core/GeneratedLink.php, line 63

Class

GeneratedLink
Used to return generated links, along with associated cacheability metadata.

Namespace

Drupal\Core

Code

public function count() {
  return Unicode::strlen($this->__toString());
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!GeneratedLink.php/function/GeneratedLink::count/8.1.x