";
/**
* The default height and width of an icon.
*/
const SIZE_DEFAULT = 24;
/**
* The height and width of an icon in a variation picker.
*/
const SIZE_VARIATION = 36;
/**
* The Heroicons academic cap svg icon.
*
* @param int $size The Height and Width of the SVG icon.
* @return string
*/
public static function heroicons_academic_cap( $size = self::SIZE_DEFAULT ) {
return self::svg(
""
. ""
. "",
$size
);
}
/**
* The Heroicons annotation svg icon.
*
* @param int $size The Height and Width of the SVG icon.
* @return string
*/
public static function heroicons_annotation( $size = self::SIZE_DEFAULT ) {
return self::svg(
"",
$size
);
}
/**
* The Heroicons ban svg icon.
*
* @param int $size The Height and Width of the SVG icon.
* @return string
*/
public static function heroicons_ban( $size = self::SIZE_DEFAULT ) {
return self::svg(
"",
$size
);
}
/**
* The Heroicons briefcase svg icon.
*
* @param int $size The Height and Width of the SVG icon.
* @return string
*/
public static function heroicons_briefcase( $size = self::SIZE_DEFAULT ) {
return self::svg(
"",
$size
);
}
/**
* The Heroicons calendar svg icon.
*
* @param int $size The Height and Width of the SVG icon.
* @return string
*/
public static function heroicons_calendar( $size = self::SIZE_DEFAULT ) {
return self::svg(
"",
$size
);
}
/**
* The Heroicons clipboard check svg icon.
*
* @param int $size The Height and Width of the SVG icon.
* @return string
*/
public static function heroicons_clipboard_check( $size = self::SIZE_DEFAULT ) {
return self::svg(
"",
$size
);
}
/**
* The Heroicons clipboard copy svg icon.
*
* @param int $size The Height and Width of the SVG icon.
* @return string
*/
public static function heroicons_clipboard_copy( $size = self::SIZE_DEFAULT ) {
return self::svg(
"",
$size
);
}
/**
* The Heroicons clipboard list svg icon.
*
* @param int $size The Height and Width of the SVG icon.
* @return string
*/
public static function heroicons_clipboard_list( $size = self::SIZE_DEFAULT ) {
return self::svg(
"",
$size
);
}
/**
* The Heroicons clock svg icon.
*
* @param int $size The Height and Width of the SVG icon.
* @return string
*/
public static function heroicons_clock( $size = self::SIZE_DEFAULT ) {
return self::svg(
"",
$size
);
}
/**
* The Heroicons currency dollar svg icon.
*
* @param int $size The Height and Width of the SVG icon.
* @return string
*/
public static function heroicons_currency_dollar( $size = self::SIZE_DEFAULT ) {
return self::svg(
"",
$size
);
}
/**
* The Heroicons cursor_click svg icon.
*
* @param int $size The Height and Width of the SVG icon.
* @return string
*/
public static function heroicons_cursor_click( $size = self::SIZE_DEFAULT ) {
return self::svg(
"",
$size
);
}
/**
* The Heroicons document text svg icon.
*
* @param int $size The Height and Width of the SVG icon.
* @return string
*/
public static function heroicons_document_text( $size = self::SIZE_DEFAULT ) {
return self::svg(
"",
$size
);
}
/**
* The Heroicons globe svg icon.
*
* @param int $size The Height and Width of the SVG icon.
* @return string
*/
public static function heroicons_globe( $size = self::SIZE_DEFAULT ) {
return self::svg(
"",
$size
);
}
/**
* The Heroicons identification svg icon.
*
* @param int $size The Height and Width of the SVG icon.
* @return string
*/
public static function heroicons_identification( $size = self::SIZE_DEFAULT ) {
return self::svg(
"",
$size
);
}
/**
* The Heroicons location marker svg icon
*
* @param int $size The Height and Width of the SVG icon.
* @return string
*/
public static function heroicons_location_marker( $size = self::SIZE_DEFAULT ) {
return self::svg(
""
. "",
$size
);
}
/**
* The Heroicons office building svg icon.
*
* @param int $size The Height and Width of the SVG icon.
* @return string
*/
public static function heroicons_office_building( $size = self::SIZE_DEFAULT ) {
return self::svg(
"",
$size
);
}
/**
* The Heroicons photograph svg icon.
*
* @param int $size The Height and Width of the SVG icon.
* @return string
*/
public static function heroicons_photograph( $size = self::SIZE_DEFAULT ) {
return self::svg(
"",
$size
);
}
/**
* The Heroicons switch horizontal svg icon.
*
* @param int $size The Height and Width of the SVG icon.
* @return string
*/
public static function heroicons_switch_horizontal( $size = self::SIZE_DEFAULT ) {
return self::svg(
"",
$size
);
}
/**
* The Heroicons grid svg icon.
*
* @param int $size The Height and Width of the SVG icon.
*
* @return string The generated icon.
*/
public static function heroicons_grid( $size = self::SIZE_DEFAULT ) {
return self::svg(
"",
$size
);
}
/**
* The Heroicons book open svg icon.
*
* @param int $size The Height and Width of the SVG icon.
*
* @return string The generated icon.
*/
public static function heroicons_book_open( $size = self::SIZE_DEFAULT ) {
return self::svg(
"",
$size
);
}
/**
* Generates the SVG based on given path.
*
* @param string $path The path to generate svg for.
* @param int $svg_size The Height and Width of the SVG icon.
*
* @return string The generated icon svg.
*/
protected static function svg( $path, $svg_size = self::SIZE_DEFAULT ) {
$start = \str_replace( '%SIZE%', $svg_size, self::SVG_START_TAG );
return $start . $path . '';
}
}