Skip to content

Commit

Permalink
Implementation of check and uncheck glyph
Browse files Browse the repository at this point in the history
  • Loading branch information
iszmais committed Jun 28, 2024
1 parent faeb844 commit d4b9380
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -439,14 +439,14 @@ public function launch(string $action = null): G\Glyph
*/
public function check(): G\Glyph
{
throw new NotImplementedException();
return new Glyph(G\Glyph::CHECK, G\Glyph::CHECK);
}

/**
* @inheritdoc
*/
public function uncheck(): G\Glyph
{
throw new NotImplementedException();
return new Glyph(G\Glyph::UNCHECK, G\Glyph::UNCHECK);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ class Glyph implements C\Symbol\Glyph\Glyph
self::ITALIC,
self::BOLD,
self::LINK,
self::LAUNCH
self::LAUNCH,
self::CHECK,
self::UNCHECK
];

private string $type;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
<!-- BEGIN link --> glyphicon-link<!-- END link -->
<!-- BEGIN launch --> glyphicon-launch<!-- END launch -->
<!-- BEGIN sortation --> glyphicon-sort<!-- END sortation -->
<!-- BEGIN check --> glyphicon-check<!-- END check -->
<!-- BEGIN uncheck --> glyphicon-uncheck<!-- END check -->
" aria-hidden="true"></span>

Expand Down

0 comments on commit d4b9380

Please sign in to comment.