original_string: public function setLayers(array $layers)
      {
          $this->layers = array_values(array_filter($layers, function ($layer): bool {
              return $layer instanceof Layer;
          }));
          return $this;
      }
code: public function setLayers(array $layers)
      {
          $this->layers = array_values(array_filter($layers, function ($layer): bool {
              return $layer instanceof Layer;
          }));
          return $this;
      }
code_tokens: public function setLayers ( array $ layers ) { $ this -> layers = array_values ( array_filter ( $ layers , function ( $ layer ) : bool { return $ layer instanceof Layer ; } ) ) ; return $ this ; }
docstring: Sets the layers of the icon.
  @param array|Layer[] $layers
  @return $this Implementing fluent interface.
docstring_tokens: Sets the layers of the icon .